mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb: Implement ::file-selector-button pseudo element
The button for a file input now matches `::file-selector-button`.
This commit is contained in:
Notes:
github-actions[bot]
2024-12-05 10:50:48 +00:00
Author: https://github.com/lukewarlow 🔰 Commit: https://github.com/LadybirdBrowser/ladybird/commit/fdee82d2034 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2666 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/Psychpsyo Reviewed-by: https://github.com/tcl3
@@ -0,0 +1,11 @@
|
||||
<!doctype html>
|
||||
<title>::file-selector-button allows to customize the button in <input type=file></title>
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5049">
|
||||
<link rel="mismatch" href="../../../../expected/wpt-import/css/css-pseudo/file-selector-button-001-notref.html">
|
||||
<style>
|
||||
input::file-selector-button {
|
||||
background: green;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<input type="file">
|
||||
Reference in New Issue
Block a user