tor-browser

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

bug1354478-6-ref.html (911B)


      1 <html class="reftest-wait">
      2  <head>
      3    <meta charset="utf-8">
      4    <style>
      5      body {
      6        writing-mode: sideways-lr;
      7      }
      8      textarea {
      9        inline-size: 200px;
     10        appearance: none;
     11        unicode-bidi: plaintext;
     12        outline-style: solid;
     13      }
     14      div {
     15        inline-size: 200px;
     16        block-size: 20px;
     17        position: relative;
     18        inset-block-start: -20px;
     19        background: silver;
     20      }
     21    </style>
     22    <script>
     23      function start() {
     24        var textarea = document.querySelector("textarea");
     25        textarea.selectionStart = 1; // place caret between the letters
     26        textarea.selectionEnd = 1;
     27        textarea.focus();
     28      }
     29      function done() {
     30        document.documentElement.removeAttribute("class");
     31      }
     32    </script>
     33  </head>
     34  <body onload="start()">
     35    <textarea onfocus="done()">دد</textarea>
     36    <div></div>
     37  </body>
     38 </html>