https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 313ee0f00756c8739b2d28ae0f5d620c008239e0 authored by Ryan VanderMeulen on 29 July 2015, 14:14:54 UTC
Added tag B2G_2_0M_END for changeset 4e82c466cac4 on a CLOSED TREE
Tip revision: 313ee0f
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