diff options
Diffstat (limited to 'layout/reftests/css-ui-valid/button/style.css')
-rw-r--r-- | layout/reftests/css-ui-valid/button/style.css | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/css-ui-valid/button/style.css b/layout/reftests/css-ui-valid/button/style.css new file mode 100644 index 000000000..ee57842a8 --- /dev/null +++ b/layout/reftests/css-ui-valid/button/style.css @@ -0,0 +1,18 @@ +/* Override default style */ +button:invalid { + box-shadow: none; +} + +button.notvalid { + background-color: green; +} +button.notvalid:-moz-ui-valid { + background-color: red; +} + +button.valid { + background-color: red; +} +button.valid:-moz-ui-valid { + background-color: green; +} |