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