https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 1dafd5895c35307008d1286f87635aa952231432 authored by Hal Wine on 31 May 2013, 01:23:28 UTC
Added tag B2G_1_1_0_hd_20130530182315_BASE for changeset fad8ae06867b
Tip revision: 1dafd58
select-required-valid-changed-1.html
<!DOCTYPE html>
<html class='reftest-wait'>
  <!-- Test: if select is required and has a selected option and the selection
             did changed, :-moz-ui-valid should apply. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body onload="document.getElementById('s').selectedIndex = 0;
                document.documentElement.className = '';">
    <select id='s' class='valid' required>
      <option>foo</option>
    </select>
  </body>
</html>
back to top