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
commit 45e4ab69d6
Notes: github-actions[bot] 2024-09-03 09:17:02 +00:00
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 {