Re: [CSS2.1] Grammar for @media versus general block parsing

Bjoern Hoehrmann wrote:
> * Justin Rogers wrote:
>> So the question is, should the grammar in this case be read strictly
>> since it clearly points out a semantic for the @media block, and thus
>> only allow rule-sets making the Opera/IE 8 behavior correct? Or should
>> the parsers allow any statement within the block including the at-rule?
> 
> CSS Level 3 allows using e.g. @page as child of @media, so you will end
> up implementing the latter behavior either way.

I think the real question is what CSS2.1 should say, or CSS3 should say 
for UAs that don't support @page to make @page usable inside @media...

Sounds like the Gecko behavior is what will be needed to make the rule 
following the @page not disappear in UAs not supporting @page.

-Boris

Received on Wednesday, 25 June 2008 04:21:47 UTC