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

`::slotted` is a pseudo-element of the slot. I don't think `slot:has(::slotted(..)))` makes much sense, in the same way `slot:has(::before)` and such should probably not work.

Maybe `:empty` should look at flat tree children, or maybe we just need a separate pseudo-class, but yeah using `:has` for this feels wrong.

-- 
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-879714411

Received on Wednesday, 14 July 2021 08:48:10 UTC