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

13 lines
337 B
HTML

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