tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

placeholder-focus-ref.html (589B)


      1 <!DOCTYPE html>
      2 <html class='reftest-wait'>
      3  <link rel='stylesheet' type='text/css' href='style.css'>
      4  <script>
      5    function loadHandler()
      6    {
      7      document.getElementById('t').focus();
      8    }
      9    function focusHandler()
     10    {
     11      document.getElementById('moz').focus();
     12    }
     13    function focusHandlerMoz()
     14    {
     15      document.documentElement.className = '';
     16    }
     17  </script>
     18  <body onload='loadHandler();'>
     19    <textarea id='t' class='ref' onfocus='focusHandler();'>foo</textarea>
     20    <textarea id='moz' class='ref' onfocus='focusHandlerMoz();'>bar</textarea>
     21  </body>
     22 </html>