Special-case DocumentFragment in appendChild, too.
authorMs2ger <ms2ger@gmail.com>
Mon, 23 May 2011 17:53:18 +0200
changeset 51650641bbdfceb
parent 515 3a6c65b92d33
child 517 2aa619ecf0b5
Special-case DocumentFragment in appendChild, too.
Overview.html
Overview.src.html
     1.1 --- a/Overview.html	Mon May 23 17:19:52 2011 +0200
     1.2 +++ b/Overview.html	Mon May 23 17:53:18 2011 +0200
     1.3 @@ -1709,7 +1709,12 @@
     1.4   <code title="dom-Document-adoptNode"><a href="#dom-document-adoptnode">adoptNode</a></code> method with
     1.5   <var title="">newChild</var> as its argument.
     1.6  
     1.7 - <li><p>Append <var title="">newChild</var> to the <a href="#context-object">context object</a>.
     1.8 + <li><p>If <var title="">newChild</var> is a <code><a href="#documentfragment">DocumentFragment</a></code> node,
     1.9 + append the children of <var title="">newChild</var> to the
    1.10 + <a href="#context-object">context object</a>, in <a href="#tree-order">tree order</a>.
    1.11 +
    1.12 + <li><p>Otherwise, append <var title="">newChild</var> to the
    1.13 + <a href="#context-object">context object</a>.
    1.14  
    1.15   <li><p>Return <var title="">newChild</var>.
    1.16  </ol>
    1.17 @@ -3886,6 +3891,7 @@
    1.18  
    1.19  Adrian Bateman,
    1.20  Dethe Elza,
    1.21 +David Flanagan,
    1.22  Glenn Maynard,
    1.23  Jacob Rossi,
    1.24  Jonas Sicking,
     2.1 --- a/Overview.src.html	Mon May 23 17:19:52 2011 +0200
     2.2 +++ b/Overview.src.html	Mon May 23 17:53:18 2011 +0200
     2.3 @@ -1660,7 +1660,12 @@
     2.4   <code title=dom-Document-adoptNode>adoptNode</code> method with
     2.5   <var title>newChild</var> as its argument.
     2.6  
     2.7 - <li><p>Append <var title>newChild</var> to the <span>context object</span>.
     2.8 + <li><p>If <var title>newChild</var> is a <code>DocumentFragment</code> node,
     2.9 + append the children of <var title>newChild</var> to the
    2.10 + <span>context object</span>, in <span>tree order</span>.
    2.11 +
    2.12 + <li><p>Otherwise, append <var title>newChild</var> to the
    2.13 + <span>context object</span>.
    2.14  
    2.15   <li><p>Return <var title>newChild</var>.
    2.16  </ol>
    2.17 @@ -3902,6 +3907,7 @@
    2.18  
    2.19  Adrian Bateman,
    2.20  Dethe Elza,
    2.21 +David Flanagan,
    2.22  Glenn Maynard,
    2.23  Jacob Rossi,
    2.24  Jonas Sicking,