summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-disabled/input/input-fieldset-3.html
blob: de095cee6e5d4bd19a7f558a634e0276ded46142 (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">
        <input class="disabled">
      </fieldset>
    </fieldset>
  </body>
</html>