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