LibWeb: Add background color to input fields

This commit is contained in:
Colin Reeder 2024-09-02 12:24:46 -06:00 committed by Sam Atkins
parent da171c3230
commit 45e4ab69d6
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,5 @@
<!DOCTYPE html>
<link rel="match" href="reference/input-background.html" />
<div style="background-color: blue">
<input type="text" />
</div>

View File

@ -0,0 +1,4 @@
<!DOCTYPE html>
<div style="background-color: blue">
<input type="text" style="background-color: Field" />
</div>

View File

@ -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 {