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

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?
>
> -Boris
>

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.

Received on Monday, 10 March 2008 04:12:28 UTC