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