layout/reftests/dom/appendsingle.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <html class="reftest-wait">
     2 <head>
     4 <script>
     5 function boom()
     6 {
     7   document.body.offsetHeight;
     9   var parent = document.getElementById("body");
    11   var newdiv = document.createElement("div");
    12   newdiv.appendChild(document.createTextNode("5"));
    13   parent.appendChild(newdiv);
    15   document.body.offsetHeight;
    16   document.documentElement.className = "";
    17 }
    18 </script>
    20 </head>
    21 <body id="body" onload="boom();">
    22 <div>1</div>
    23 <div>2</div>
    24 <div>3</div>
    25 <div>4</div>
    26 </body>
    27 </html>

mercurial