W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2016

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

From: Takayoshi Kochi via GitHub <sysbot+gh@w3.org>
Date: Tue, 15 Nov 2016 04:00:14 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-189294354-1479182412-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:05 UTC