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

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