summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-invalid/fieldset/fieldset-dynamic-invalid-not-barred.html
blob: cf7905f0c5061522703d763a7b7c13e5d1c04225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html class='reftest-wait'>
  <head>
    <style>
      fieldset:invalid { display: none; }
    </style>
  </head>
  <script>
    function onloadHandler()
    {
      document.getElementById('i').readOnly = false;
      document.documentElement.className = '';
    }
  </script>
  <body onload='onloadHandler();'>
    <fieldset id="fieldset">
      <input id='i' required readonly>
    </fieldset>
  </body>
</html>