layout/reftests/css-ui-valid/select/select-required-valid-changed-2.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/css-ui-valid/select/select-required-valid-changed-2.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class='reftest-wait'>
     1.6 +  <!-- Test: if select is required and has a selected option and the selection
     1.7 +             did changed, :-moz-ui-valid should apply. -->
     1.8 +  <link rel='stylesheet' type='text/css' href='style.css'>
     1.9 +  <body onload="document.getElementById('s').selectedIndex = 0;
    1.10 +                document.documentElement.className = '';">
    1.11 +    <select id='s' class='valid' required>
    1.12 +      <option selected>foo</option>
    1.13 +    </select>
    1.14 +  </body>
    1.15 +</html>

mercurial