Re: [CSS 2.1] General at-blocks and error recovery

Brad Kemper wrote:
> 
> On Mar 9, 2008, at 9:00 PM, Boris Zbarsky wrote:
> 
>> Brad Kemper wrote:
>>> That seems sensible to me. When I look at "@media all { @ }" my 
>>> common sense tells me that there is a closed @media block there, with 
>>> nonsense inside the block that should be ignored.
>>
>> If the testcase were:
>>
>>   @media all { div }
>>
>> would the common-sense feeling still be the same?
> 
> To my mind it is. I see a selector inside the block that is missing the 
> rest of its rule. To my mind, that would be equivalent of a style sheet 
> that only had
> 
> div
> 
> as its contents, and applied to all media.

That would be my expectation, too.

~fantasai

Received on Monday, 10 March 2008 06:37:33 UTC