layout/generic/crashtests/380012-1.html

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 <!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