W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

Re: [csswg-drafts] [css-shadow-parts-1] Can class name selectors apply to a part? (#3431)

From: Lea Verou via GitHub <sysbot+gh@w3.org>
Date: Thu, 15 Oct 2020 15:09:19 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-709391087-1602774558-sysbot+gh@w3.org>
JS set `:state()` is certainly useful, but there needs to be some sort of way to do what @AmeliaBR suggested, otherwise we may see authors re-implementing native pseudo-classes with JS, which is undesirable.
@rniwa what if these "forwarded" selectors cannot include `:state()`? What if they're only compound selectors? Wouldn't that make it easier to implement? 

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3431#issuecomment-709391087 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 15 October 2020 15:09:21 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:20 UTC