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.)

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

mercurial