Re: [cssom] Serializing the ">>" combinator

On Fri, 13 Feb 2015 12:44:56 +0400, Benjamin Poulain <benjamin@webkit.org>  
wrote:

>>>> * It avoids having to remember which one was used when parsing
>>
>> This is the stronger reason in my opinion. Also see  
>> https://lists.w3.org/Archives/Public/www-style/2015Jan/0603.html
> This is a very different case.
> Here the selector has nothing special that needs extra storage, you can  
> just defined a new ">>" combinator in the list of combinators. That does  
> not require any memory.
>
> In WebKit, I opted to use our bitflags for simplicity, but that's pretty  
> much the same: it does not require any special treatment or any extra  
> memory.

OK. In that case I'm happy to match your implementation.

https://hg.csswg.org/drafts/rev/108d7e3ff204

-- 
Simon Pieters
Opera Software

Received on Friday, 13 February 2015 08:59:16 UTC