summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/select/select-required-valid.html
blob: 9fb309b19f27d6f80e2ea1e866291b335835a215 (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, :-moz-ui-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>