layout/generic/crashtests/380012-1.html

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 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3 <head>
     5 <style>
     6   .fl:first-line { }
     7   .inh { position: inherit; }
     8   .abs { position: absolute; }
     9 </style>
    11 <script>
    13 var x, y;
    15 function boom()
    16 {
    17   x = document.getElementById("x");
    18   y = document.getElementById("y");
    20   x.setAttribute('class', "fl abs");
    21   y.setAttribute('class', "inh");
    22   setTimeout(boom2, 5);
    23 }
    25 function boom2()
    26 {
    27   y.setAttribute('class', "abs");
    29   document.documentElement.removeAttribute("class");
    30 }
    32 </script>
    34 </head>
    36 <body onload="setTimeout(boom, 5);">
    37 <div id="x">
    38   <p id="y">foo</p>
    39 </div>
    40 </body>
    42 </html>

mercurial