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

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 UTC