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

[cssom] Serializing the ">>" combinator

From: Benjamin Poulain <benjamin@webkit.org>
Date: Mon, 09 Feb 2015 21:14:26 -0800
Message-ID: <54D993B2.8090801@webkit.org>
To: "www-style@w3.org" <www-style@w3.org>

The serialization specification does not mention ">>" from CSS Selectors 
level 4: http://dev.w3.org/csswg/cssom/#serializing-selectors && 

What we have done in WebKit is serialize ">>" like the other non-space 
combinators (e.g. "foo>>bar" serialize to "foo >> bar").

An other option is to canonicalize every descendant combinator to the 
space character.

It would be good to clarify this in order to avoid different 
serialization in different engines.

Received on Tuesday, 10 February 2015 05:22:59 UTC

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