summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-valid/select/select-required-valid-2.html
blob: c4cf9aec50697480819f7e4f001d6ea8f47302cb (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 selected>foo</option>
    </select>
  </body>
</html>