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