layout/reftests/css-ui-invalid/default-style/select-focus.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/css-ui-invalid/default-style/select-focus.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +<!DOCTYPE>
     1.5 +<html class="reftest-wait">
     1.6 +  <script>
     1.7 +    function onloadHandler()
     1.8 +    {
     1.9 +      document.getElementById('e').setCustomValidity('foo');
    1.10 +      document.getElementById('e').focus();
    1.11 +    }
    1.12 +  </script>
    1.13 +  <body onload="onloadHandler();">
    1.14 +    <select id='e' onfocus="document.documentElement.className='';"></select>
    1.15 +  </body>
    1.16 +</html>

mercurial