summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-invalid/form/form-invalid-and-barred.html
blob: 0d4391be39d92200ee140a658ada50d0564b9485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<!-- Form with one invalid element and a barred for constraint validation element -->
<html>
  <head>
    <style>
      form:invalid { display: none; }
    </style>
  </head>
 <body>
   <form>
    <input required>
    <input id='i' value='foo' readonly required>
   </form>
 </body>
</html>