[csswg-drafts] Pull Request: [css-scoping-1] add :has-slotted() psuedo class

keithamus has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-scoping-1] add :has-slotted() psuedo class ==
Based on the discussion in https://github.com/w3c/csswg-drafts/issues/6867, and the conclusions within, I thought I'd have a go at specifying a `:has-slotted( <<compound-selector>> )` pseudo class.

I put this in `css-scoping-1`; the resolution was to add it in `css-selectors-5` but I thought it might be useful living next to `:host`, `:host()`, `:host-context()` and `::slotted()`. I am of course happy to move it if folks disagree with this choice.

My intent for this PR is largely to present something worthy of discussion. I hope I've achieved that, apologies if this PR amounts to just noise.

See https://github.com/w3c/csswg-drafts/pull/10586


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

Received on Wednesday, 17 July 2024 11:48:55 UTC