Re: [csswg-drafts] [selectors] Pseudo-class to indicate when a slot has content (#6867)

> OP was requesting a non-functional pseudo-class, but use cases emerged for a functional form too.

This thread might have requested a non-funciton form, but the issue I opened before (https://github.com/WICG/webcomponents/issues/936) definitely requested a function form so that `:has-slotted()` matches whenever the corresponding `::slotted()` would have matched something. I think the functional form is important for consistency and some of the use-cases I've come across.

-- 
GitHub Notification of comment by justinfagnani
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6867#issuecomment-2364304069 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 20 September 2024 18:32:15 UTC