Re: [WICG/webcomponents] CSS selector to style slots with slotted elements (#936)

Oh, I misunderstood the intent of this issue. Sorry for the confusion.

`:has` should style any ancestors of `slot` element, but it cannot not style the `slot` element. I think we can check like this. If `li ::slotted(*)` works, then `li:has(::slotted(*))` should work. But `slot ::slotted(*)` doesn't work, so `slot:has(::slotted(*))` will not work either.

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

Received on Thursday, 15 July 2021 00:40:37 UTC