layout/generic/crashtests/397844-2.xhtml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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 td { border: 1px solid green }
michael@0 8 </style>
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(6);
michael@0 17 document.getElementById("td").style.padding = "2px";
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="font-family: monospace; width: 14ch; border: 1px solid orange;" 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 jk 2</span></div>
michael@0 53
michael@0 54 </body>
michael@0 55 </html>

mercurial