Re: [csswg-drafts] [css-pseudo-4] Should `::file-selector-button` be a `has-allowed pseudo element` (#11856)

Maybe we want `:has-pseudo()` or `:attached()` or something similar that accepts pseudo-elements, and is allowed inside of `:has()`, and represents only the "this element has one of these pseudo-elements".  (And then we wouldn't allow pseudo-elements in `:has()` at all, but would allow them inside of `:has-pseudo()` inside of `:has()`.

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11856#issuecomment-4179442306 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 17:45:11 UTC