layout/generic/crashtests/397844-1.xhtml

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
michael@0 2 <head>
michael@0 3
michael@0 4 <style type="text/css">
michael@0 5 .pad { padding: 3ch; }
michael@0 6 .fl:first-letter { }
michael@0 7 </style>
michael@0 8
michael@0 9
michael@0 10 <style id="s" type="text/css"></style>
michael@0 11
michael@0 12 <script type="text/javascript">
michael@0 13
michael@0 14 function boom()
michael@0 15 {
michael@0 16 document.getElementById("td").nextSibling.splitText(11);
michael@0 17 document.getElementById("td").style.padding = "11px";
michael@0 18
michael@0 19 setTimeout(boom2, 10);
michael@0 20 }
michael@0 21
michael@0 22 function boom2()
michael@0 23 {
michael@0 24 document.body.style.counterReset = "chicken";
michael@0 25
michael@0 26 setTimeout(boom3, 10);
michael@0 27 }
michael@0 28
michael@0 29 function boom3()
michael@0 30 {
michael@0 31 document.getElementById("s").textContent = "#xxx { }";
michael@0 32
michael@0 33 setTimeout(boom4, 10);
michael@0 34 }
michael@0 35
michael@0 36 function boom4()
michael@0 37 {
michael@0 38 document.getElementById("td").style.padding = "";
michael@0 39 setTimeout(boom5, 10);
michael@0 40 }
michael@0 41
michael@0 42 function boom5()
michael@0 43 {
michael@0 44 document.documentElement.removeAttribute("class");
michael@0 45 }
michael@0 46
michael@0 47 </script>
michael@0 48 </head>
michael@0 49
michael@0 50 <body style="width: 10em;" dir="rtl" onload="boom();">
michael@0 51
michael@0 52 <div class="pad fl"><span><td class="pad fl" id="td"><span>abcd</span></td>ghi jklmnop 2 qrs tuvwxy</span></div>
michael@0 53
michael@0 54 </body>
michael@0 55 </html>

mercurial