W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

Re: [csswg-drafts] [css-mediaqueries] “inner” `@media` rules

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Sat, 10 Dec 2016 02:45:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-266173665-1481337925-sysbot+gh@w3.org>
I think this would be useful, and the error handling of CSS Syntax 
should allow this evolution. An unknown `@media ` in the middle of a 
rule set will simply get ignored, but will not confuse the parser, and
 traditional property declarations before or after the `@media` rule 
will continue to apply just fine.

I also don't think it poses any significant implementability challenge
 to make parsers support this, although I could be wrong about that.

LTL;DR: LGTM.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/531#issuecomment-266173665 
using your GitHub account
Received on Saturday, 10 December 2016 02:45:33 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:27 UTC