Skip to content

[css-forms-1] Specify UA styles for file input #13800

@lukewarlow

Description

@lukewarlow

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

Image

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions