tor-browser

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

491547-2.xhtml (807B)


      1 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
      2 
      3 <box id="a" style="display: list-item;">
      4 &amp;c&amp;m&amp;q
      5 <box id="b"/>
      6 </box>
      7 
      8 <style xmlns="http://www.w3.org/1999/xhtml">
      9 #a::first-letter {float: right; color: red;}
     10 </style>
     11 
     12 <script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
     13 function run() {
     14  for (var i = 0; i < 20; i++) {
     15    document.documentElement.offsetWidth;
     16    doe();
     17    document.documentElement.offsetWidth;
     18    undoe();
     19  }
     20 }
     21 function doe() {
     22  document.getElementById('a').style.direction = 'rtl';
     23  document.getElementById('b').style.direction = 'ltr';
     24 }
     25 function undoe() {
     26  document.getElementById('a').style.direction = 'ltr';
     27  document.getElementById('b').style.direction = 'rtl';
     28 }
     29 setTimeout(run, 100);
     30 ]]></script>
     31 </window>