tor-browser

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

bug1496118-ref.html (665B)


      1 <!DOCTYPE HTML>
      2 <html class="reftest-wait">
      3 <head>
      4  <script src="/tests/SimpleTest/EventUtils.js"></script>
      5  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      6  <style>
      7    input, input:active { border: none; }
      8  </style>
      9 </head>
     10 <body>
     11 <input id="input1" value="aaaaaaaaaaaaaaaaaaaa">
     12 <div id=div1 style="height: 100px;">
     13  <textarea id="textarea1" style="display: none;"></textarea>
     14 </div>
     15 <script>
     16 SimpleTest.waitForFocus(() => {
     17  let input1 = document.getElementById('input1');
     18  input1.focus();
     19  input1.selectionStart = input1.selectionEnd = 0;
     20  synthesizeKey("A");
     21  document.documentElement.removeAttribute("class");
     22 });
     23 </script>
     24 </body>
     25 </html>