summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-invalid/textarea/textarea-disabled-fieldset-1.html
blob: 0c07f75ef41a01d9c9fa3855501d2d4900c6f5ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
  <!-- Test: if textarea has a disabled fieldset ancestor, it is barred from
             constraint validation and should not be affected by :invalid
             pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body>
    <fieldset disabled>
      <fieldset>
        <textarea class='notinvalid' required></textarea>
      </fieldset>
    </fieldset>
  </body>
</html>