summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-invalid/select/select-required-valid.html
blob: e6e4856dc4ef114139123d27d110e943dfc145ac (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
  <!-- Test: if select is required and has a select option which has value
             different from the empty string, :invalid should not apply. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body>
    <select class='notinvalid' required>
      <option selected>foo</option>
    </select>
  </body>
</html>