Closed necolas closed 13 years ago
Nicole, what do you think here?
I'm not convinced media queries are the right answer to small screens for commercial websites.
Print is very specific with it's own set of bugs (like FF cropping anything with a formatting context at the page level), the linter probably won't look for the same bugs in print stylesheets.
My suggestion from issue 80 ("location dependent H" instead of "duplicate H") happens to solve this issue, too.
So what is the suggested rule change here?
I don't think the "heading already defined" warning should appear at all if the additional heading selector is in a different media query.
I like your suggestion @mahonnaise but I do worry that "location dependent" is an OOCSS term with which everyone else may not be familiar.
I'm not sure what to do with this bug, but I'd like to start more discussion around it. @necolas - would you be willing to start that discussion on the CSS Lint google group? http://groups.google.com/group/css-lint
Shouldn't this be left open until it is resolved?
There isn't enough information to proceed and also not a clear path forward. We don't believe in leaving bugs open forever just in case. Please start a discussion on the mailing list and see if you can get quorum on what you think should be done, then a new issue with more specifics can be opened.
If you are overriding styles for headings in media queries (e.g. for smaller screens or for print) you still get a warning.