W3C home > Mailing lists > Public > www-style@w3.org > August 2001

At-rules (@-rules) in @media blocks

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 10 Aug 2001 12:21:22 -0400
Message-Id: <200108101621.MAA00645@dizzy.mit.edu>
To: www-style@w3.org
I'm a bit confused about the use of at-rules in @media blocks...

The CSS2 grammar says:

       : MEDIA_SYM S* medium [ ',' S* medium ]* '{' S* ruleset* '}' S*
       : IDENT S*

thus implying that at-rules are not allowed in @media blocks.

However, the main body of the specification itself never says this.  It
just says that "a set of rules" is allowed inside an @media block.....
In particular, it seems to me that @page and @font-face rules should be
acceptable in @media blocks.

Am I just missing something?

"Peace is our profession."
-- Motto of Strategic Air Command
Received on Friday, 10 August 2001 12:21:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:58 UTC