summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-valid/select/select-required-valid-1.html
blob: a092e3fcb55540e13be62815d7eac14e5699d587 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
  <!-- Test: if select is required and has a selected option but the selection
             didn't changed, :-moz-ui-valid should not apply. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body>
    <select class='notvalid' required>
      <option>foo</option>
    </select>
  </body>
</html>