Skip to content

Add ::file-selector-button pseudo-element#341

Merged
mrobinson merged 1 commit intoservo:mainfrom
lukewarlow:file-selector-button
Mar 26, 2026
Merged

Add ::file-selector-button pseudo-element#341
mrobinson merged 1 commit intoservo:mainfrom
lukewarlow:file-selector-button

Conversation

@lukewarlow
Copy link
Copy Markdown
Member

Same as #245 but needed a rebase. Have added original author under Co-authored-by to maintain credit.

@lukewarlow
Copy link
Copy Markdown
Member Author

lukewarlow commented Mar 20, 2026

Do I need to do something special to make this support the hover pseudo class? I'm not sure if Servo's version of stylo supports chaining pseudo-classes after pseudo-elements yet.

Co-authored-by: Vasiluță Mihai-Alexandru <alexv@siluta.me>
Signed-off-by: Luke Warlow <lwarlow@igalia.com>
@lukewarlow lukewarlow force-pushed the file-selector-button branch from 1f52efa to 10c54cc Compare March 26, 2026 14:24
@mrobinson
Copy link
Copy Markdown
Member

@lukewarlow Does this have a corresponding Servo change?

@lukewarlow
Copy link
Copy Markdown
Member Author

Yes it's servo/servo#43498 - I'm just rebasing that one now

@lukewarlow
Copy link
Copy Markdown
Member Author

That's rebased now and unmarked as draft.

@mrobinson mrobinson added this pull request to the merge queue Mar 26, 2026
@mrobinson
Copy link
Copy Markdown
Member

Landing this so that you can then land the Servo change.

Merged via the queue into servo:main with commit ad3ef1d Mar 26, 2026
5 checks passed
github-merge-queue bot pushed a commit to servo/servo that referenced this pull request Mar 27, 2026
script: Implement shadow tree for file input

File inputs also now support ::file-selector-button

Testing: Existing WPTs
Fixes: #39565

Stylo PR: servo/stylo#341

Signed-off-by: Luke Warlow <lwarlow@igalia.com>
Co-authored-by: Vasiluță Mihai-Alexandru <alexv@siluta.me>
lando-worker bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Apr 3, 2026
github-actions bot pushed a commit to longvatrong111/stylo that referenced this pull request Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants