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

I'm a bit confused about the use of at-rules in @media blocks...

The CSS2 grammar says:

media
       : MEDIA_SYM S* medium [ ',' S* medium ]* '{' S* ruleset* '}' S*
       ;
medium
       : 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?

Boris
-----------------
617-764-2453
-----------------
"Peace is our profession."
-- Motto of Strategic Air Command

Received on Friday, 10 August 2001 12:21:23 UTC