gecko/layout/reftests/css-invalid/input/input-reset.html

14 lines
429 B
HTML

<!DOCTYPE html>
<html>
<!-- Test: if input is of reset type, it is barred from constraint validation
and should not be affected by :invalid pseudo-class. -->
<style>
input { background-color: green; }
input:invalid { background-color: red; }
</style>
<body>
<!-- Setting value to the empty string let us check against input-button-ref.html -->
<input type='reset' value=''>
</body>
</html>