diff options
Diffstat (limited to 'layout/reftests/css-ui-valid/textarea/style.css')
-rw-r--r-- | layout/reftests/css-ui-valid/textarea/style.css | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/css-ui-valid/textarea/style.css b/layout/reftests/css-ui-valid/textarea/style.css new file mode 100644 index 0000000000..3ffe6c687b --- /dev/null +++ b/layout/reftests/css-ui-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:-moz-ui-valid { + background-color: red; +} + +textarea.valid { + background-color: red; +} +textarea.valid:-moz-ui-valid { + background-color: green; +} |