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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 03 Jul 2008 16:08:52 -0700
Message-ID: <486D5C04.8080802@inkedblade.net>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: "www-style@w3.org" <www-style@w3.org>

Bjoern Hoehrmann wrote:
> * fantasai wrote:
>> Proposal:
>>   Change 'ruleset' to 'stylesheet' in the @media grammar.
>>   State in 7.2.1 that "At-rules inside @media are invalid in CSS2.1
>>   and must be ignored per 4.2 Rules for handling parsing errors."
> 
> That would allow CDO and CDC in @media which is probably not intended. I
> tested this when the issue came up, I think only IE6 had interesting be-
> havior for this case.

So would only making the change in 7.2.1 and not changing
the grammar be adequate?

~fantasai
Received on Thursday, 3 July 2008 23:09:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:10 GMT