Re: [CSS2.1] Parsing Selectors with Brackets

fantasai wrote:
> 
> Anne van Kesteren wrote:
>>
>> On Wed, 26 Dec 2007 06:38:11 +0100, fantasai 
>> <fantasai.lists@inkedblade.net> wrote:
>>> The core grammar says what's correct. It doesn't say how to do error
>>> recovery. The question is, how is this parsed:
>>>
>>>   p { color: orange; }
>>>   p ( { color: red; } p { background: blue; } )
>>>
>>> Is the paragraph orange or blue?
>>
>> Didn't Björn answer that? I tested that in Opera, Firefox, and IE and 
>> the second line got dropped in all of them leaving 'p { color: orange; 
>> }'.
> 
> Which build are you testing? Opera 9.24 gives a blue background.
> 
> http://fantasai.inkedblade.net/style/tests/ad-hoc/syntax/matching-brackets-000.xht 

9.25 and sadly the CSS validator too (see my former post)...

Christof

(Actually a new type of CSS hack, is it not? ;)

Received on Wednesday, 26 December 2007 22:21:51 UTC