W3C home > Mailing lists > Public > www-style@w3.org > December 2007

Re: [CSS2.1] Parsing Selectors with Brackets

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 26 Dec 2007 09:36:00 +0100
To: fantasai <fantasai.lists@inkedblade.net>, "Bjoern Hoehrmann" <derhoermi@gmx.net>, www-style@w3.org
Message-ID: <op.t3xoua2i64w2qv@annevk-t60.oslo.opera.com>

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; }'.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 26 December 2007 08:34:03 GMT

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