W3C home > Mailing lists > Public > www-style@w3.org > June 2008

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 25 Jun 2008 00:21:00 -0400
Message-ID: <4861C7AC.5040209@mit.edu>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: Justin Rogers <justrog@microsoft.com>, "www-style@w3.org" <www-style@w3.org>

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.

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:37 UTC