diff --git a/Tests/LibWeb/Ref/input-background.html b/Tests/LibWeb/Ref/input-background.html new file mode 100644 index 00000000000..d0077572390 --- /dev/null +++ b/Tests/LibWeb/Ref/input-background.html @@ -0,0 +1,5 @@ + + +
+ +
diff --git a/Tests/LibWeb/Ref/reference/input-background.html b/Tests/LibWeb/Ref/reference/input-background.html new file mode 100644 index 00000000000..bfead6a5b8a --- /dev/null +++ b/Tests/LibWeb/Ref/reference/input-background.html @@ -0,0 +1,4 @@ + +
+ +
diff --git a/Userland/Libraries/LibWeb/CSS/Default.css b/Userland/Libraries/LibWeb/CSS/Default.css index d5a11860e0e..7d51222c6d2 100644 --- a/Userland/Libraries/LibWeb/CSS/Default.css +++ b/Userland/Libraries/LibWeb/CSS/Default.css @@ -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 {