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: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Wed, 05 Apr 2017 19:36:07 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-291972687-1491420965-sysbot+gh@w3.org>
It's not a general requirement, no.  Before the advent of `:nth-child()`, it *definitely* wasn't true of ordinary CSS; if you wanted a unique path, you had to make sure it was unique yourself, and possible add a uniquifier, like an ID.  The "supported in stylesheets" variants of shadow selectors we appear to be settling on (`::part()`) also don't support that requirement, since they're equivalent to classes.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/640#issuecomment-291972687 using your GitHub account
Received on Wednesday, 5 April 2017 19:36:16 UTC

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