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