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: Dylan Barrell via GitHub <sysbot+gh@w3.org>
Date: Thu, 06 Apr 2017 08:03:42 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-292099458-1491465821-sysbot+gh@w3.org>
@tabatkins before you could use XPath to achieve a unique address, once `:nth*` appeared you could use a combination of descendant selectors and `:nth-*`

There has been a way to uniquely address any node in a document for a very long time without having to change the document and add IDs (with the exception of IE) and that is now no longer possible with shadow DOM

-- 
GitHub Notification of comment by dylanb
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/640#issuecomment-292099458 using your GitHub account
Received on Thursday, 6 April 2017 08:04:08 UTC

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