Re: [csswg-drafts] [css-scoping-1] add :has-slotted() pseudo class (#10586)

@keithamus could you please rebase to resolve conflicts? Also, I wonder if it may be better to do this in two steps: get the non-functional form in first (`:has-slotted`) which _already_ addresses some of the use cases and is way easier to implement, and _then_ extend it to the functional form which appears to require more design discussion.

Looking at the [resolution](https://github.com/w3c/csswg-drafts/issues/6867#issuecomment-1332344714) it is unclear if it even allows for a functional form, given the original proposal was for a non-functional form. In fact, the non-functional form is not simply an alias for `:has-slotted(*)`, since the latter **would not detect slotted text nodes**. 

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/10586#issuecomment-2364149193 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 17:02:10 UTC