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

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

From: Brad Kemper <brkemper@comcast.net>
Date: Sun, 9 Mar 2008 21:11:05 -0700
Message-Id: <E6E03E47-5FA3-4CD1-9F60-FFE3B0FADA02@comcast.net>
Cc: www-style Mailing List <www-style@w3.org>
To: Boris Zbarsky <bzbarsky@MIT.EDU>


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 GMT

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