- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 06 Mar 2025 20:22:07 +0000
- To: public-css-archive@w3.org
Just coming back to note that in a few places in this thread, I referred to `:host(:has(...))` as being already handled by the rules and capable of matching. This is wrong, I'd forgetten the existing logic. It *is* already handled by the rules, but they end up disallowing it, instead: per Scoping, `:host()`'s argument is `<compound-selector>`; per Selectors, logical-combination pseudos pass any selector restrictions on to their arguments; and per Just Look At It, the argument of a `:has()` is implicitly a complex selector and thus can't match `<compound-selector>`. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10693#issuecomment-2704859283 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 6 March 2025 20:22:08 UTC