CSSLint / csslint

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

Can't differentiate between h1 and .h1 etc. #42

Closed i-like-robots closed 13 years ago

i-like-robots commented 13 years ago

Using headers and matching class names (as in OOCSS eg h1, .h1 {}) returns the error 'Heading has already been defined'

nzakas commented 13 years ago

I'm not seeing this issue. Can you please paste in a complete code example that shows this issue?

i-like-robots commented 13 years ago

Correction: it is actually being generated from this piece of code:

h1, .h1 { whatever } h1 small, .h1 small { whatever }

So not actually the bug reported or bug at all (though perhaps it's the wrong or confusing wording for this particular warning?), just me misreading table data