- From: Byungwoo Lee <notifications@github.com>
- Date: Tue, 13 Jul 2021 18:28:04 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 14 July 2021 01:28:17 UTC
IMHO, `:has` should provide that functionality. When we have `.a .b` relation, we can select `.a` with `:has` like this - `.a:has(~.b)`. Same with this, when we have `#label-slot ::slotted(*)` relation, we can select `#label-slot` like this - `#label-slot:has(::slotted(*))`. I'm currently [prototyping the `:has` spec](https://chromestatus.com/feature/5794378545102848#details) in the chromium project, and it is very beginning stage. I think that the `:has(::slotted(*))` cases will be checked during the prototyping. -- 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-879511294
Received on Wednesday, 14 July 2021 01:28:17 UTC