gecko/layout/reftests/css-invalid/button/button-disabled.html

13 lines
334 B
HTML
Raw Normal View History

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