Re: [CSS2.1] Parsing Selectors with Brackets

Anne van Kesteren wrote:
> 
> On Wed, 26 Dec 2007 09:36:00 +0100, Anne van Kesteren <annevk@opera.com> 
> wrote:
>> On Wed, 26 Dec 2007 06:38:11 +0100, fantasai 
>> <fantasai.lists@inkedblade.net> wrote:
>>>   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; 
>> }'.
> 
> My mistake, IE7 shows a blue background. But it was already established 
> in a parallel thread that it has some minor issues with this.

question is also when the CSS starts working again:

     p { color: green; }
     p ( { color: red; } p { background: blue; } )
     i { color: red}
     b { color: green}

should IMHO (Firefox does it like this, I have no Safari available) be 
parsed as:

p {
     color: green
     }
b {
     color: green
     }

but gives in JIGSAW same as in IE and Opera 9.25 (just tested it again) 
falsely:

p {
color : green;
}
p {
background : blue;
}
b {
color : green;
}

which is the right one now?

Christof

Received on Wednesday, 26 December 2007 14:08:44 UTC