W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

Re: [csswg-drafts] [css-scoping-1] should shadow-piercing descendant combinator (>>>) still be in specification

From: Takayoshi Kochi via GitHub <sysbot+gh@w3.org>
Date: Wed, 05 Apr 2017 09:39:29 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-291808841-1491385167-sysbot+gh@w3.org>
@dylanb I see your problem, that you need a unique selector to identify any element in the whole tree.

I'm not sure that "there should be at least one selector to uniquely identify any element in shadow-including document", is a requirement for CSS selectors or not. Without shadow, apparently you can use `>` and all the tree from `document` to give a path to uniquely identify any element.

So for completeness for that requirement, having 2 different combinator for "one-shadow' and "multiple-shadows" makes sense.

@tabatkins do you have any idea whether such a requirement exists, or makes sense?

-- 
GitHub Notification of comment by TakayoshiKochi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/640#issuecomment-291808841 using your GitHub account
Received on Wednesday, 5 April 2017 09:39:35 UTC

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