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