summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-invalid/form/form-valid-and-barred.html
blob: 3cface5e617a3bbda5fcd1316570c2435d5536b6 (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 id='i' value='bar'required>
    <input id='i' value='foo' readonly required>
   </form>
 </body>
</html>