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

13 lines
329 B
HTML

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