summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-invalid/fieldset/fieldset-div-invalid.html
blob: 2c1b47b78c406c25b99310644d4eadf6cc4cec32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<!-- fieldset with input in div should become invalid -->
<html>
  <head>
    <style>
      fieldset:invalid { display: none ;}
    </style>
  </head>
  <body>
    <fieldset>
      <div>
        <input required value="">
      </div>
    </fieldset>
  </body>
</html>