gecko/layout/reftests/css-invalid/input/input-email-valid.html

14 lines
344 B
HTML

<!DOCTYPE html>
<html>
<!-- Test: if input is valid and not barred from constraint validation,
it should not be affected by :invalid pseudo-class. -->
<style>
input { background-color: green; }
input:invalid { background-color: red; }
</style>
<body>
<input type='email' value='foo@bar.com'>
</body>
</html>