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