Skip to content

the value part of <input type=file> should inherit ‘color’ by default #44427

@delan

Description

@delan

<input type=file> is ‘color: initial’ on ‘background: transparent’ by default in our UA styles, which is not typical in other browsers and can yield poor contrast. we should make it ‘color: inherit’ instead.

<!doctype html><meta charset="utf-8">
<body style="background: #333; color: white;"><input type=file>
Firefox 142 Servo 0.1.0 Chrome 146
Image Image Image

Metadata

Metadata

Assignees

Labels

A-formsC-assignedThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions