[csswg-drafts] [css-syntax] '>>' and '>>>' should be a token

TakayoshiKochi has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-syntax] '>>' and '>>>' should be a token ==
CSS scoping spec defines `>>>` as shadow-piercing descendant 
combinator:
https://drafts.csswg.org/css-scoping/#deep-combinator

CSS selectors defines `>>` as descendant combinator:
https://drafts.csswg.org/selectors-4/#descendant-combinator

Currently CSS syntax does not specify these (`>>` and `>>>`) as 
tokens,
and `>>>` is parsed as 3 consecutive `delim-token`(`>`) s.
https://drafts.csswg.org/css-syntax/

Therefore `>/**/>/**/>` is allowed to mean a `>>>` combinator, but 
probably
it does not make any sense.  We propose to define `>>` and `>>>` as
distinct tokens.


Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/712 using your GitHub 
account

Received on Tuesday, 15 November 2016 04:00:20 UTC