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 accountReceived 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