tor-browser

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

447749-1.html (717B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <title>Bug 4477749</title>
      5  <style type="text/css">
      6   div.scroller { overflow: scroll; width: 100px; }
      7   span { border: 1px solid blue; }
      8  </style>
      9  <script type="text/javascript">
     10 function testit()
     11 {
     12  var inner=document.getElementById("testinner").childNodes[0];
     13  window.getSelection().collapse(inner, 0);
     14  document.getElementById("testmid").scrollLeft=-1000;
     15  document.getElementById("testouter").style.direction="ltr";
     16 }
     17  </script>
     18 </head>
     19 <body onload="testit()">
     20  <div id="testouter" dir="rtl">
     21   <div id="testmid" class="scroller"><span id="testinner">TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText</span></div>
     22  </div>
     23 </body>
     24 </html>