Closed Bug 1862212 Opened 2 years ago Closed 2 years ago

After selector does not work on file input.

Categories

(Firefox :: Untriaged, defect)

Firefox 118
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: fuchsiahoney, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0

Steps to reproduce:

In CSS, you can write something like

input[type=file]::after {
content: "example";
}

Actual results:

Nothing appears.

Expected results:

The value of the content property, such "example", should appear after the file name, or default text of the file input.

This is invalid, see bug 241985.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.