summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-valid/input/style.css
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/css-ui-valid/input/style.css18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/css-ui-valid/input/style.css b/layout/reftests/css-ui-valid/input/style.css
new file mode 100644
index 0000000000..aa3f74b3c7
--- /dev/null
+++ b/layout/reftests/css-ui-valid/input/style.css
@@ -0,0 +1,18 @@
+/* Override default style */
+input:invalid {
+ box-shadow: none;
+}
+
+input.notvalid {
+ background-color: green;
+}
+input.notvalid:-moz-ui-valid {
+ background-color: red;
+}
+
+input.valid {
+ background-color: red;
+}
+input.valid:-moz-ui-valid {
+ background-color: green;
+}