summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valid/select/select-required-valid.html
blob: 685995b673176258a9abd1e76d3c102a4f932809 (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, :valid should apply. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body>
    <select class='valid' required>
      <option selected>foo</option>
    </select>
  </body>
</html>