Re: [w3c/webcomponents] Support Custom Pseudo-elements (#300)

>> One element in the shadow DOM corresponding to more than one part.
> 
> Here's one use case. If you had a carousel, you might want to have one selector to match any image, and another one to match the currently selected/shown image.

That sounds like a state, rather than a logical part. So I would like to be able to target shadow-pseudos in different states, but they would still just have one matching pseudo selector – something like `::shadow-pseudo(.state)`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/300#issuecomment-273394511

Received on Wednesday, 18 January 2017 06:24:27 UTC