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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sun, 09 Mar 2008 22:38:05 -0700
Message-ID: <47D4C93D.2030303@inkedblade.net>
To: Brad Kemper <brkemper@comcast.net>
CC: Boris Zbarsky <bzbarsky@MIT.EDU>, www-style Mailing List <www-style@w3.org>, Justin Robertson <justinr@veritynet.net>

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 GMT

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