mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Add background color to input fields
This commit is contained in:
parent
da171c3230
commit
45e4ab69d6
Notes:
github-actions[bot]
2024-09-03 09:17:02 +00:00
Author: https://github.com/vpzomtrrfrt
Commit: 45e4ab69d6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1259
Reviewed-by: https://github.com/AtkinsSJ
3 changed files with 12 additions and 0 deletions
5
Tests/LibWeb/Ref/input-background.html
Normal file
5
Tests/LibWeb/Ref/input-background.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="reference/input-background.html" />
|
||||
<div style="background-color: blue">
|
||||
<input type="text" />
|
||||
</div>
|
4
Tests/LibWeb/Ref/reference/input-background.html
Normal file
4
Tests/LibWeb/Ref/reference/input-background.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<div style="background-color: blue">
|
||||
<input type="text" style="background-color: Field" />
|
||||
</div>
|
|
@ -31,6 +31,9 @@ input:not([type=submit], input[type=button], input[type=image], input[type=reset
|
|||
min-height: 16px;
|
||||
cursor: text;
|
||||
overflow: hidden;
|
||||
|
||||
background-color: Field;
|
||||
color: FieldText;
|
||||
}
|
||||
|
||||
textarea {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue