layout/generic/crashtests/397844-2.xhtml

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 <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 td { border: 1px solid green }
     8 </style>
    10 <style id="s" type="text/css"></style>
    12 <script type="text/javascript">
    14 function boom()
    15 {
    16   document.getElementById("td").nextSibling.splitText(6);
    17   document.getElementById("td").style.padding = "2px";
    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="font-family: monospace; width: 14ch; border: 1px solid orange;" dir="rtl" onload="boom();">
    52 <div class="pad fl"><span><td class="pad fl" id="td"><span>abcd</span></td>ghi jk 2</span></div>
    54 </body>
    55 </html>

mercurial