gecko/layout/reftests/css-valid/button/style.css

19 lines
265 B
CSS

/* Override default style */
button:invalid {
-moz-box-shadow: none;
}
button.notvalid {
background-color: green;
}
button.notvalid:valid {
background-color: red;
}
button.valid {
background-color: red;
}
button.valid:valid {
background-color: green;
}