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

Re: [CSSWG] Minutes and Resolutions 2010-12-01

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 02 Dec 2010 11:39:53 -0500
Message-ID: <4CF7CBD9.2040908@mit.edu>
To: Øyvind Stenhaug <oyvinds@opera.com>
CC: www-style@w3.org, "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
On 12/2/10 11:35 AM, Øyvind Stenhaug wrote:
> Hm, if "the rules for matching pairs" refers to 4.1.6 as you say, that
> section is actually about blocks

Ah, indeed.  In which case "the rules for matching pairs of (), [], {}, 
"", and ''" are not actually defined anywhere.  ;)

> In "Malformed Statements", it says to parse "by reading until the end of
> the statement". And according to 4.1.7 a selector "consists of
> everything up to (but not including) the first left curly brace".

But clearly some curly braces are excluded from this.  For example:

   [myAttr="{"] { color: green; }

should match:

   <span myAttr="{"></span>

right?  I _think_ the intent is that once you see a '(', '[', '{', '"', 
or '\'' you must skip forward until either seeing another opening 
delimiter (in which case you recursively start skipping), or until you 
see the matching closing delimiter.

I agree this could be clearer.

Received on Thursday, 2 December 2010 16:41:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:53 UTC