gecko/layout/reftests/css-invalid/textarea/textarea-valid.html

13 lines
336 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<!-- Test: if textarea is valid and is not barred from constraint validation,
it should not be affected by :invalid pseudo-class. -->
<style>
textarea { background-color: green; }
textarea:invalid { background-color: red; }
</style>
<body>
<textarea></textarea>
</body>
</html>