[csswg-drafts] [css-forms-1] Specify UA styles for file input (#13800)

lukewarlow has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-forms-1] Specify UA styles for file input ==
We currently have `::file-selector-button` defined to rende with button styles, but have essentially no styles for the container input except that its box-sizing is border-box and it inherits font and color.

We need to come up with any other styles we need. We should pay close attention to how disabled styles work because it might end up stacking the colour mixing so the button becomes hard to read.

See also #11928 and #11847

<img width="199" height="45" alt="Image" src="https://github.com/user-attachments/assets/826d9713-ae29-4b64-bce7-f95c5244b5f0" />

Note: The text is currently not defined but ideally should be and should also be replaceable via CSS (see #12250)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13800 using your GitHub account


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

Received on Monday, 13 April 2026 22:06:05 UTC