https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 1c18d06925f1faef679e20f822ecabef2be57bd7 authored by Wes Kocher on 28 February 2014, 01:08:04 UTC
Merge b2g-inbound to m-c
Tip revision: 1c18d06
button-focus.html
<!DOCTYPE>
<html class="reftest-wait">
  <script>
    function onloadHandler()
    {
      document.getElementById('e').setCustomValidity('foo');
      document.getElementById('e').focus();
    }
  </script>
  <body onload="onloadHandler();">
    <button id='e' onfocus="document.documentElement.className='';"></button>
  </body>
</html>
back to top