tor-browser

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

bug1896051-ref.html (630B)


      1 <!doctype html>
      2 <html class="reftest-wait">
      3 <script src="/tests/SimpleTest/EventUtils.js"></script>
      4 <script src="/tests/SimpleTest/SimpleTest.js"></script>
      5 <style>
      6  textarea {
      7    font: 13px / 1 monospace;
      8    border: 1px solid;
      9    padding: 0;
     10    overflow: hidden;
     11    resize: none;
     12  }
     13 </style>
     14 <textarea rows=5>
     15 a
     16 b
     17 c
     18 d
     19 </textarea>
     20 <script>
     21 SimpleTest.waitForFocus(function() {
     22  let textarea = document.querySelector("textarea");
     23  textarea.focus();
     24  textarea.selectionStart = textarea.selectionEnd = textarea.value.length;
     25  setTimeout(() => {
     26    document.documentElement.removeAttribute("class");
     27  }, 0);
     28 });
     29 </script>