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

19 lines
260 B
CSS

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