summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-disabled/fieldset/fieldset-fieldset-3.html
blob: 4c09335469e12c44e89d0a045720cc8ffb5d1a6b (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">
  <link rel='stylesheet' type='text/css' href='style.css'>
  <script>
    function onloadHandler()
    {
      var fieldsets = document.getElementsByTagName('fieldset');
      fieldsets[1].disabled = true;
      fieldsets[0].disabled = false;
      document.documentElement.className='';
    }
  </script>
  <body onload="onloadHandler();">
    <fieldset disabled class="enabled">
      <fieldset class="disabled">
        <fieldset class="disabled"></fieldset>
      </fieldset>
    </fieldset>
  </body>
</html>