summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valid/select/select-required-invalid.html
blob: 45e38acb78c8af4137d4b41e74a578cc0e16930f (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 an empty
             string value, :valid should not apply. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body>
    <select class='notvalid' required>
      <option selected value="">foo</option>
    </select>
  </body>
</html></html>