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

I agree that :has(::file-selector-button) matching the input's parent seems completely wrong. A new combinator feels the wrong approach, we should just make it match the originating element in this case.

-- 
GitHub Notification of comment by lukewarlow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11856#issuecomment-4179383981 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:34:53 UTC