CSSLint / csslint

Automated linting of Cascading Stylesheets
http://csslint.net
Other
4.77k stars 483 forks source link

Invalid adjoining-classes with pseudo element selector should detect as other error . #646

Open RyotaSugawara opened 8 years ago

RyotaSugawara commented 8 years ago

Hello! I found invalid patterns which breaks css in Chrome 49. Before Chrome 49, we can ignore this pattern ( browsers ignores bad pattern ), but now it breaks css.

For Example:

div:after, div::after.foo {
  content: "should be invalid pattern"
}

The code above is broken. Chrome 49 in this case ignores other selector. Now CSSLint detect as adjoining-classes, but it should detect as other error.