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