layout/base/crashtests/491547-2.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     3 <box id="a" style="display: list-item;">
     4 &amp;c&amp;m&amp;q
     5 <box id="b"/>
     6 </box>
     8 <style xmlns="http://www.w3.org/1999/xhtml">
     9 #a::first-letter {float: right; color: red;}
    10 </style>
    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>

mercurial