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.

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

mercurial