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