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

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.

-Boris

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