- From: L. David Baron via GitHub <noreply@w3.org>
- Date: Thu, 29 Jan 2026 19:41:13 +0000
- To: public-css-archive@w3.org
I'm not sure if we have any ":has-allowed pseudo-elements" yet. But if we're going to make some, I'm a little worried about issues with combinators. In particular, I think the way things are currently specified: * `E:has(:allowed-pseudo)` matches any element `E` that has a *descendant* with an `:allowed-pseudo` pseudo-element * `E:has(> :allowed-pseudo)` matches any element `E` that has a *child* with an `:allowed-pseudo` pseudo-element * there is no way to use `:has()` to match an element`E` that *itself* has an `:allowed-pseudo` pseudo-element -- GitHub Notification of comment by dbaron Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12630#issuecomment-3819888972 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 29 January 2026 19:41:14 UTC