- From: L. David Baron via GitHub <noreply@w3.org>
- Date: Thu, 02 Apr 2026 20:16:19 +0000
- To: public-css-archive@w3.org
Yeah, I think that's an issue, although there are two ways we could take it: 1. we do need to make this work with `:has()` in some way, or 2. `:has-pseudo-element()` isn't actually different from `:has()` except for the combinator rules at the start -- it's just `:has()` where the implied combinator at the start is pseudo-element-of (and the first thing better be a pseudo-element) but otherwise it's just like `:has()`. (If we go with (2) we need to decide whether the `:has-pseudo-element(not-a-pseudo)` is a parse error or just fails to match.) -- GitHub Notification of comment by dbaron Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11856#issuecomment-4180252044 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 2 April 2026 20:16:19 UTC