layout/reftests/dom/multipleinsertionpoints-appendsingle-2.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 <bindings xmlns="http://www.mozilla.org/xbl"
     5           xmlns:xhtml="http://www.w3.org/1999/xhtml">
     6   <binding id="a">
     7     <content>
     8       <xhtml:div>
     9         <children includes="span"/>
    10       </xhtml:div>
    11       <xhtml:div>
    12         <children/>
    13       </xhtml:div>
    14     </content>
    15   </binding>  
    16 </bindings>
    18 <script>
    19 function boom()
    20 {
    21   document.body.offsetHeight;
    23   var parent = document.getElementById("parent");
    25   var newelt = document.createElement("span");
    26   newelt.appendChild(document.createTextNode(2));
    27   parent.appendChild(newelt);
    29   document.body.offsetHeight;
    30   document.documentElement.className = "";
    31 }
    32 </script>
    34 </head>
    35 <body onload="boom();">
    36 <div id="parent" style="-moz-binding: url(#a);">
    37   <div>3</div><span>1</span><div>4</div><div>5</div>
    38 </div>
    39 </body>
    40 </html>

mercurial