diff options
Diffstat (limited to 'layout/reftests/css-valid/textarea/style.css')
-rw-r--r-- | layout/reftests/css-valid/textarea/style.css | 26 |
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 000000000..5c74ec8ae --- /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; +} |