summaryrefslogtreecommitdiffstats
path: root/dom/html/reftests/autofocus/button-load.html
blob: a9e28e2bb633fc83d72ef622ae83cbedd576aca1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html class="reftest-wait">
  <link rel='stylesheet' type='text/css' href='style.css'>
  <script>
    function focusHandler()
    {
      setTimeout(document.documentElement.removeAttribute('class'), 0);
    }
  </script>
  <body>
    <button></button><button autofocus onfocus="focusHandler();"></button><button autofocus onfocus="focusHandler();"></button>
  </body>
</html>