Re: [csswg-drafts] [css-forms-1] Add `::file-selector-button` to selectors for buttons (#11876)

> That way it will automatically get all of these styles because it's a button?

For future reference: no, because it's a pseudo-element. The fact that it's element-backed by a button doesn't let it match `button` selectors, you do indeed still need to match it manually by pseudo-element name.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/11876#issuecomment-2711508703 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 10 March 2025 18:43:24 UTC