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