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

19 lines
275 B
CSS

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