summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/select/select-required-multiple-invalid.html
blob: d59ee7ee627c95fbc54d9b972e7059a59ea18fa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
  <!-- Test: if select is required, has all selected option value set to the
             empty string, and the selection did not changed,
             :-moz-ui-invalid should not apply. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body>
    <select class='notinvalid' required multiple>
      <option selected></option>
      <option selected value="">foo</option>
    </select>
  </body>
</html>