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

> Update: I submitted PR #10959 yesterday, @tabatkins reviewed it today, and `:has-slotted` has now landed: https://drafts.csswg.org/css-scoping/#the-has-slotted-pseudo 🎉
> 
> I’ve also had chats with @emilio and @rniwa about implementation difficulty and they both said it’s trivial to do. Not sure who the Blink implementor is (@chrishtr @mfreed7 do you know?), but I imagine the answer would be similar. So, fingers crossed this could ship in browsers relatively soon, as it’s a nice quick win 🤞🏼

My team could take a look - sounds rather straightforward to implement. A few questions/requests:
 1. Are there WPTs?
 2. Would you mind [filing an implementation bug](https://crbug.com/new) for us?


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


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

Received on Friday, 27 September 2024 22:08:21 UTC