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