W3C home > Mailing lists > Public > www-style@w3.org > February 2015

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

From: Simon Pieters <simonp@opera.com>
Date: Fri, 13 Feb 2015 09:58:43 +0400
To: "www-style@w3.org" <www-style@w3.org>, "Benjamin Poulain" <benjamin@webkit.org>
Message-ID: <op.xtzm75mmidj3kv@simons-macbook-pro.local>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:01 UTC