avoid some DocumentFragment-related duplication
authorAnne van Kesteren <annevk@opera.com>
Thu, 22 Mar 2012 13:37:38 +0100
changeset 1002ac51d41fb636
parent 1000 980319eda278
child 1003 893fb327c63c
avoid some DocumentFragment-related duplication
Overview.html
Overview.src.html
dom-core.html
     1.1 --- a/Overview.html	Wed Mar 21 11:21:47 2012 +0100
     1.2 +++ b/Overview.html	Thu Mar 22 13:37:38 2012 +0100
     1.3 @@ -52,8 +52,8 @@
     1.4  <!--end-logo-->
     1.5  </div>
     1.6   <h1>DOM4</h1>
     1.7 - <h2 class="no-num no-toc" id="editor's-draft-21-march-2012">
     1.8 -  <span class="w3conly">Editor's Draft 21 March 2012</span>
     1.9 + <h2 class="no-num no-toc" id="editor's-draft-22-march-2012">
    1.10 +  <span class="w3conly">Editor's Draft 22 March 2012</span>
    1.11    </h2>
    1.12  
    1.13   <dl>
    1.14 @@ -86,7 +86,7 @@
    1.15  <p class="dontpublish copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
    1.16  To the extent possible under law, the editors have waived all copyright and
    1.17  related or neighboring rights to this work. In addition, as of
    1.18 -21 March 2012, the editors have made this specification available
    1.19 +22 March 2012, the editors have made this specification available
    1.20  under the
    1.21  <a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
    1.22  which is available at
    1.23 @@ -1680,12 +1680,15 @@
    1.24   a <code><a href="#documentfragment">DocumentFragment</a></code> <a href="#concept-node" title="concept-node">node</a>, or a
    1.25   list containing solely <var title="">node</var> otherwise.
    1.26  
    1.27 - <li><p>If <var title="">node</var> is a <code><a href="#documentfragment">DocumentFragment</a></code>
    1.28 - <a href="#concept-node" title="concept-node">node</a> and
    1.29 - <i title="">suppress observers flag</i> is unset,
    1.30 - <a href="#concept-mo-queue-childlist" title="concept-MO-queue-childList">queue a "<code>childList</code>" record</a>
    1.31 - with target <var title="">node</var>, addedNodes null, removedNodes
    1.32 - <var title="">nodes</var>, nextSibling null, and previousSibling null.
    1.33 + <li>
    1.34 +  <p>If <var title="">node</var> is a <code><a href="#documentfragment">DocumentFragment</a></code>
    1.35 +  <a href="#concept-node" title="concept-node">node</a>,
    1.36 +  <a href="#concept-mo-queue-childlist" title="concept-MO-queue-childList">queue a "<code>childList</code>" record</a>
    1.37 +  with target <var title="">node</var>, addedNodes null, removedNodes
    1.38 +  <var title="">nodes</var>, nextSibling null, and previousSibling null.
    1.39 +
    1.40 +  <p class="note">This step does intentionally not pay attention to the
    1.41 +  <i title="">suppress observers flag</i>.
    1.42  
    1.43   <li><p>If <var title="">node</var> is a <code><a href="#documentfragment">DocumentFragment</a></code>
    1.44   <a href="#concept-node" title="concept-node">node</a>,
    1.45 @@ -1808,17 +1811,19 @@
    1.46   <var title="">node</var> with <var title="">parent</var>'s
    1.47   <a href="#concept-node-document" title="concept-node-document">node document</a>.
    1.48  
    1.49 + <li><p><a href="#concept-node-remove" title="concept-node-remove">Remove</a> <var title="">child</var>
    1.50 + from its <var title="">parent</var> with the
    1.51 + <i title="">suppress observers flag</i> set.
    1.52 +
    1.53 + <li><p><a href="#concept-node-insert" title="concept-node-insert">Insert</a> <var title="">node</var>
    1.54 + into <var title="">parent</var> before <var title="">reference child</var> with
    1.55 + the <i title="">suppress observers flag</i> set.
    1.56 +
    1.57   <li><p>Let <var title="">nodes</var> be <var title="">node</var>'s
    1.58   <a href="#concept-tree-child" title="concept-tree-child">children</a> if <var title="">node</var> is
    1.59   a <code><a href="#documentfragment">DocumentFragment</a></code> <a href="#concept-node" title="concept-node">node</a>, or a
    1.60   list containing solely <var title="">node</var> otherwise.
    1.61  
    1.62 - <li><p>If <var title="">node</var> is a <code><a href="#documentfragment">DocumentFragment</a></code>
    1.63 - <a href="#concept-node" title="concept-node">node</a>,
    1.64 - <a href="#concept-mo-queue-childlist" title="concept-MO-queue-childList">queue a "<code>childList</code>" record</a>
    1.65 - with target <var title="">node</var>, addedNodes null, removedNodes
    1.66 - <var title="">nodes</var>, nextSibling null, and previousSibling null.
    1.67 -
    1.68   <li><p><a href="#concept-mo-queue-childlist" title="concept-MO-queue-childList">queue a "<code>childList</code>" record</a>
    1.69   with target <var title="">parent</var>, addedNodes
    1.70   <var title="">nodes</var>, removedNodes a list solely containing
    1.71 @@ -1826,14 +1831,6 @@
    1.72   previousSibling <var title="">child</var>'s
    1.73   <a href="#concept-tree-previous-sibling" title="concept-tree-previous-sibling">previous sibling</a>.
    1.74  
    1.75 - <li><p><a href="#concept-node-remove" title="concept-node-remove">Remove</a> <var title="">child</var>
    1.76 - from its <var title="">parent</var> with the
    1.77 - <i title="">suppress observers flag</i> set.
    1.78 -
    1.79 - <li><p><a href="#concept-node-insert" title="concept-node-insert">Insert</a> <var title="">node</var>
    1.80 - into <var title="">parent</var> before <var title="">reference child</var> with
    1.81 - the <i title="">suppress observers flag</i> set.
    1.82 -
    1.83   <li><p>Return <var title="">child</var>.
    1.84  </ol>
    1.85  
    1.86 @@ -1846,31 +1843,26 @@
    1.87   <var title="">node</var> with <var title="">parent</var>'s
    1.88   <a href="#concept-node-document" title="concept-node-document">node document</a>.
    1.89  
    1.90 - <li><p>Let <var title="">nodes</var> be <var title="">node</var>'s
    1.91 - <a href="#concept-tree-child" title="concept-tree-child">children</a> if <var title="">node</var> is
    1.92 - a <code><a href="#documentfragment">DocumentFragment</a></code> <a href="#concept-node" title="concept-node">node</a>, or a
    1.93 - list containing solely <var title="">node</var> otherwise.
    1.94 -
    1.95 - <li><p>If <var title="">node</var> is a <code><a href="#documentfragment">DocumentFragment</a></code>
    1.96 - <a href="#concept-node" title="concept-node">node</a>,
    1.97 - <a href="#concept-mo-queue-childlist" title="concept-MO-queue-childList">queue a "<code>childList</code>" record</a>
    1.98 - with target <var title="">node</var>, addedNodes null, removedNodes
    1.99 - <var title="">nodes</var>, nextSibling null, and previousSibling null.
   1.100 + <li><p><a href="#concept-node-remove" title="concept-node-remove">Remove</a> all
   1.101 + <var title="">parent</var>'s <a href="#concept-tree-child" title="concept-tree-child">children</a>,
   1.102 + with the <i title="">suppress observers flag</i> set.
   1.103 +
   1.104 + <li><p>If <var title="">node</var> is not null,
   1.105 + <a href="#concept-node-insert" title="concept-node-insert">insert</a> <var title="">node</var> into
   1.106 + <var title="">parent</var> before null with the
   1.107 + <i title="">suppress observers flag</i> set.
   1.108 +
   1.109 + <li><p>Let <var title="">nodes</var> be null if <var title="">node</var> is null,
   1.110 + <var title="">node</var>'s <a href="#concept-tree-child" title="concept-tree-child">children</a> if
   1.111 + <var title="">node</var> is a <code><a href="#documentfragment">DocumentFragment</a></code>
   1.112 + <a href="#concept-node" title="concept-node">node</a>, or a list containing
   1.113 + <var title="">node</var> otherwise.
   1.114  
   1.115   <li><p><a href="#concept-mo-queue-childlist" title="concept-MO-queue-childList">queue a "<code>childList</code>" record</a>
   1.116   with target <var title="">parent</var>, addedNodes
   1.117   <var title="">nodes</var>, removedNodes <var title="">parent</var>'s
   1.118   <a href="#concept-tree-child" title="concept-tree-child">children</a>, nextSibling null, and
   1.119   previousSibling null.
   1.120 -
   1.121 - <li><p><a href="#concept-node-remove" title="concept-node-remove">Remove</a> all
   1.122 - <var title="">parent</var>'s <a href="#concept-tree-child" title="concept-tree-child">children</a>,
   1.123 - with the <i title="">suppress observers flag</i> set.
   1.124 -
   1.125 - <li><p>If <var title="">node</var> is not null,
   1.126 - <a href="#concept-node-insert" title="concept-node-insert">insert</a> <var title="">node</var> into
   1.127 - <var title="">parent</var> before null with the
   1.128 - <i title="">suppress observers flag</i> set.
   1.129  </ol>
   1.130  
   1.131  <p class="note">This algorithm does not make any checks with regards to the
   1.132 @@ -2523,7 +2515,7 @@
   1.133   <dd><p>Return the <a href="#concept-tree-previous-sibling" title="concept-tree-previous-sibling">previous</a>
   1.134   and <a href="#concept-tree-next-sibling" title="concept-tree-next-sibling">next sibling</a> respectively
   1.135   of the added and/or removed <a href="#concept-node" title="concept-node">nodes</a>, or null
   1.136 - otherwise..
   1.137 + otherwise.
   1.138  
   1.139   <dt><code><var title="">record</var> . <a href="#dom-mutationrecord-attributename" title="dom-MutationRecord-attributeName">attributeName</a></code>
   1.140   <dd><p>Returns the <a href="#concept-attribute-name" title="concept-attribute-name">name</a> of the
     2.1 --- a/Overview.src.html	Wed Mar 21 11:21:47 2012 +0100
     2.2 +++ b/Overview.src.html	Thu Mar 22 13:37:38 2012 +0100
     2.3 @@ -1670,12 +1670,15 @@
     2.4   a <code>DocumentFragment</code> <span title=concept-node>node</span>, or a
     2.5   list containing solely <var title>node</var> otherwise.
     2.6  
     2.7 - <li><p>If <var title="">node</var> is a <code>DocumentFragment</code>
     2.8 - <span title=concept-node>node</span> and
     2.9 - <i title>suppress observers flag</i> is unset,
    2.10 - <span title=concept-MO-queue-childList>queue a "<code>childList</code>" record</span>
    2.11 - with target <var title>node</var>, addedNodes null, removedNodes
    2.12 - <var title>nodes</var>, nextSibling null, and previousSibling null.
    2.13 + <li>
    2.14 +  <p>If <var title="">node</var> is a <code>DocumentFragment</code>
    2.15 +  <span title=concept-node>node</span>,
    2.16 +  <span title=concept-MO-queue-childList>queue a "<code>childList</code>" record</span>
    2.17 +  with target <var title>node</var>, addedNodes null, removedNodes
    2.18 +  <var title>nodes</var>, nextSibling null, and previousSibling null.
    2.19 +
    2.20 +  <p class=note>This step does intentionally not pay attention to the
    2.21 +  <i title>suppress observers flag</i>.
    2.22  
    2.23   <li><p>If <var title="">node</var> is a <code>DocumentFragment</code>
    2.24   <span title=concept-node>node</span>,
    2.25 @@ -1798,17 +1801,19 @@
    2.26   <var title>node</var> with <var title>parent</var>'s
    2.27   <span title=concept-node-document>node document</span>.
    2.28  
    2.29 + <li><p><span title=concept-node-remove>Remove</span> <var title>child</var>
    2.30 + from its <var title>parent</var> with the
    2.31 + <i title>suppress observers flag</i> set.
    2.32 +
    2.33 + <li><p><span title=concept-node-insert>Insert</span> <var title>node</var>
    2.34 + into <var title>parent</var> before <var title>reference child</var> with
    2.35 + the <i title>suppress observers flag</i> set.
    2.36 +
    2.37   <li><p>Let <var title>nodes</var> be <var title>node</var>'s
    2.38   <span title=concept-tree-child>children</span> if <var title>node</var> is
    2.39   a <code>DocumentFragment</code> <span title=concept-node>node</span>, or a
    2.40   list containing solely <var title>node</var> otherwise.
    2.41  
    2.42 - <li><p>If <var title="">node</var> is a <code>DocumentFragment</code>
    2.43 - <span title=concept-node>node</span>,
    2.44 - <span title=concept-MO-queue-childList>queue a "<code>childList</code>" record</span>
    2.45 - with target <var title>node</var>, addedNodes null, removedNodes
    2.46 - <var title>nodes</var>, nextSibling null, and previousSibling null.
    2.47 -
    2.48   <li><p><span title=concept-MO-queue-childList>queue a "<code>childList</code>" record</span>
    2.49   with target <var title="">parent</var>, addedNodes
    2.50   <var title>nodes</var>, removedNodes a list solely containing
    2.51 @@ -1816,14 +1821,6 @@
    2.52   previousSibling <var title>child</var>'s
    2.53   <span title=concept-tree-previous-sibling>previous sibling</span>.
    2.54  
    2.55 - <li><p><span title=concept-node-remove>Remove</span> <var title>child</var>
    2.56 - from its <var title>parent</var> with the
    2.57 - <i title>suppress observers flag</i> set.
    2.58 -
    2.59 - <li><p><span title=concept-node-insert>Insert</span> <var title>node</var>
    2.60 - into <var title>parent</var> before <var title>reference child</var> with
    2.61 - the <i title>suppress observers flag</i> set.
    2.62 -
    2.63   <li><p>Return <var title>child</var>.
    2.64  </ol>
    2.65  
    2.66 @@ -1836,31 +1833,26 @@
    2.67   <var title>node</var> with <var title>parent</var>'s
    2.68   <span title=concept-node-document>node document</span>.
    2.69  
    2.70 - <li><p>Let <var title>nodes</var> be <var title>node</var>'s
    2.71 - <span title=concept-tree-child>children</span> if <var title>node</var> is
    2.72 - a <code>DocumentFragment</code> <span title=concept-node>node</span>, or a
    2.73 - list containing solely <var title>node</var> otherwise.
    2.74 -
    2.75 - <li><p>If <var title="">node</var> is a <code>DocumentFragment</code>
    2.76 - <span title=concept-node>node</span>,
    2.77 - <span title=concept-MO-queue-childList>queue a "<code>childList</code>" record</span>
    2.78 - with target <var title>node</var>, addedNodes null, removedNodes
    2.79 - <var title>nodes</var>, nextSibling null, and previousSibling null.
    2.80 + <li><p><span title=concept-node-remove>Remove</span> all
    2.81 + <var title>parent</var>'s <span title=concept-tree-child>children</span>,
    2.82 + with the <i title>suppress observers flag</i> set.
    2.83 +
    2.84 + <li><p>If <var title>node</var> is not null,
    2.85 + <span title=concept-node-insert>insert</span> <var title>node</var> into
    2.86 + <var title>parent</var> before null with the
    2.87 + <i title>suppress observers flag</i> set.
    2.88 +
    2.89 + <li><p>Let <var title>nodes</var> be null if <var title>node</var> is null,
    2.90 + <var title>node</var>'s <span title=concept-tree-child>children</span> if
    2.91 + <var title>node</var> is a <code>DocumentFragment</code>
    2.92 + <span title=concept-node>node</span>, or a list containing
    2.93 + <var title>node</var> otherwise.
    2.94  
    2.95   <li><p><span title=concept-MO-queue-childList>queue a "<code>childList</code>" record</span>
    2.96   with target <var title="">parent</var>, addedNodes
    2.97   <var title>nodes</var>, removedNodes <var title>parent</var>'s
    2.98   <span title=concept-tree-child>children</span>, nextSibling null, and
    2.99   previousSibling null.
   2.100 -
   2.101 - <li><p><span title=concept-node-remove>Remove</span> all
   2.102 - <var title>parent</var>'s <span title=concept-tree-child>children</span>,
   2.103 - with the <i title>suppress observers flag</i> set.
   2.104 -
   2.105 - <li><p>If <var title>node</var> is not null,
   2.106 - <span title=concept-node-insert>insert</span> <var title>node</var> into
   2.107 - <var title>parent</var> before null with the
   2.108 - <i title>suppress observers flag</i> set.
   2.109  </ol>
   2.110  
   2.111  <p class=note>This algorithm does not make any checks with regards to the
   2.112 @@ -2515,7 +2507,7 @@
   2.113   <dd><p>Return the <span title=concept-tree-previous-sibling>previous</span>
   2.114   and <span title=concept-tree-next-sibling>next sibling</span> respectively
   2.115   of the added and/or removed <span title=concept-node>nodes</span>, or null
   2.116 - otherwise..
   2.117 + otherwise.
   2.118  
   2.119   <dt><code><var title>record</var> . <span title=dom-MutationRecord-attributeName>attributeName</span></code>
   2.120   <dd><p>Returns the <span title=concept-attribute-name>name</span> of the
     3.1 --- a/dom-core.html	Wed Mar 21 11:21:47 2012 +0100
     3.2 +++ b/dom-core.html	Thu Mar 22 13:37:38 2012 +0100
     3.3 @@ -13,8 +13,8 @@
     3.4  
     3.5  <div class="head">
     3.6  <h1>DOM4</h1>
     3.7 - <h2 class="no-num no-toc" id="free-editor's-draft-21-march-2012">
     3.8 -  <span class="now3c">Free Editor's Draft 21 March 2012</span>
     3.9 + <h2 class="no-num no-toc" id="free-editor's-draft-22-march-2012">
    3.10 +  <span class="now3c">Free Editor's Draft 22 March 2012</span>
    3.11   </h2>
    3.12  
    3.13   <dl>
    3.14 @@ -44,7 +44,7 @@
    3.15  <p class="dontpublish copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
    3.16  To the extent possible under law, the editors have waived all copyright and
    3.17  related or neighboring rights to this work. In addition, as of
    3.18 -21 March 2012, the editors have made this specification available
    3.19 +22 March 2012, the editors have made this specification available
    3.20  under the
    3.21  <a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
    3.22  which is available at
    3.23 @@ -1635,12 +1635,15 @@
    3.24   a <code><a href="#documentfragment">DocumentFragment</a></code> <a href="#concept-node" title="concept-node">node</a>, or a
    3.25   list containing solely <var title="">node</var> otherwise.
    3.26  
    3.27 - <li><p>If <var title="">node</var> is a <code><a href="#documentfragment">DocumentFragment</a></code>
    3.28 - <a href="#concept-node" title="concept-node">node</a> and
    3.29 - <i title="">suppress observers flag</i> is unset,
    3.30 - <a href="#concept-mo-queue-childlist" title="concept-MO-queue-childList">queue a "<code>childList</code>" record</a>
    3.31 - with target <var title="">node</var>, addedNodes null, removedNodes
    3.32 - <var title="">nodes</var>, nextSibling null, and previousSibling null.
    3.33 + <li>
    3.34 +  <p>If <var title="">node</var> is a <code><a href="#documentfragment">DocumentFragment</a></code>
    3.35 +  <a href="#concept-node" title="concept-node">node</a>,
    3.36 +  <a href="#concept-mo-queue-childlist" title="concept-MO-queue-childList">queue a "<code>childList</code>" record</a>
    3.37 +  with target <var title="">node</var>, addedNodes null, removedNodes
    3.38 +  <var title="">nodes</var>, nextSibling null, and previousSibling null.
    3.39 +
    3.40 +  <p class="note">This step does intentionally not pay attention to the
    3.41 +  <i title="">suppress observers flag</i>.
    3.42  
    3.43   <li><p>If <var title="">node</var> is a <code><a href="#documentfragment">DocumentFragment</a></code>
    3.44   <a href="#concept-node" title="concept-node">node</a>,
    3.45 @@ -1763,17 +1766,19 @@
    3.46   <var title="">node</var> with <var title="">parent</var>'s
    3.47   <a href="#concept-node-document" title="concept-node-document">node document</a>.
    3.48  
    3.49 + <li><p><a href="#concept-node-remove" title="concept-node-remove">Remove</a> <var title="">child</var>
    3.50 + from its <var title="">parent</var> with the
    3.51 + <i title="">suppress observers flag</i> set.
    3.52 +
    3.53 + <li><p><a href="#concept-node-insert" title="concept-node-insert">Insert</a> <var title="">node</var>
    3.54 + into <var title="">parent</var> before <var title="">reference child</var> with
    3.55 + the <i title="">suppress observers flag</i> set.
    3.56 +
    3.57   <li><p>Let <var title="">nodes</var> be <var title="">node</var>'s
    3.58   <a href="#concept-tree-child" title="concept-tree-child">children</a> if <var title="">node</var> is
    3.59   a <code><a href="#documentfragment">DocumentFragment</a></code> <a href="#concept-node" title="concept-node">node</a>, or a
    3.60   list containing solely <var title="">node</var> otherwise.
    3.61  
    3.62 - <li><p>If <var title="">node</var> is a <code><a href="#documentfragment">DocumentFragment</a></code>
    3.63 - <a href="#concept-node" title="concept-node">node</a>,
    3.64 - <a href="#concept-mo-queue-childlist" title="concept-MO-queue-childList">queue a "<code>childList</code>" record</a>
    3.65 - with target <var title="">node</var>, addedNodes null, removedNodes
    3.66 - <var title="">nodes</var>, nextSibling null, and previousSibling null.
    3.67 -
    3.68   <li><p><a href="#concept-mo-queue-childlist" title="concept-MO-queue-childList">queue a "<code>childList</code>" record</a>
    3.69   with target <var title="">parent</var>, addedNodes
    3.70   <var title="">nodes</var>, removedNodes a list solely containing
    3.71 @@ -1781,14 +1786,6 @@
    3.72   previousSibling <var title="">child</var>'s
    3.73   <a href="#concept-tree-previous-sibling" title="concept-tree-previous-sibling">previous sibling</a>.
    3.74  
    3.75 - <li><p><a href="#concept-node-remove" title="concept-node-remove">Remove</a> <var title="">child</var>
    3.76 - from its <var title="">parent</var> with the
    3.77 - <i title="">suppress observers flag</i> set.
    3.78 -
    3.79 - <li><p><a href="#concept-node-insert" title="concept-node-insert">Insert</a> <var title="">node</var>
    3.80 - into <var title="">parent</var> before <var title="">reference child</var> with
    3.81 - the <i title="">suppress observers flag</i> set.
    3.82 -
    3.83   <li><p>Return <var title="">child</var>.
    3.84  </ol>
    3.85  
    3.86 @@ -1801,31 +1798,26 @@
    3.87   <var title="">node</var> with <var title="">parent</var>'s
    3.88   <a href="#concept-node-document" title="concept-node-document">node document</a>.
    3.89  
    3.90 - <li><p>Let <var title="">nodes</var> be <var title="">node</var>'s
    3.91 - <a href="#concept-tree-child" title="concept-tree-child">children</a> if <var title="">node</var> is
    3.92 - a <code><a href="#documentfragment">DocumentFragment</a></code> <a href="#concept-node" title="concept-node">node</a>, or a
    3.93 - list containing solely <var title="">node</var> otherwise.
    3.94 -
    3.95 - <li><p>If <var title="">node</var> is a <code><a href="#documentfragment">DocumentFragment</a></code>
    3.96 - <a href="#concept-node" title="concept-node">node</a>,
    3.97 - <a href="#concept-mo-queue-childlist" title="concept-MO-queue-childList">queue a "<code>childList</code>" record</a>
    3.98 - with target <var title="">node</var>, addedNodes null, removedNodes
    3.99 - <var title="">nodes</var>, nextSibling null, and previousSibling null.
   3.100 + <li><p><a href="#concept-node-remove" title="concept-node-remove">Remove</a> all
   3.101 + <var title="">parent</var>'s <a href="#concept-tree-child" title="concept-tree-child">children</a>,
   3.102 + with the <i title="">suppress observers flag</i> set.
   3.103 +
   3.104 + <li><p>If <var title="">node</var> is not null,
   3.105 + <a href="#concept-node-insert" title="concept-node-insert">insert</a> <var title="">node</var> into
   3.106 + <var title="">parent</var> before null with the
   3.107 + <i title="">suppress observers flag</i> set.
   3.108 +
   3.109 + <li><p>Let <var title="">nodes</var> be null if <var title="">node</var> is null,
   3.110 + <var title="">node</var>'s <a href="#concept-tree-child" title="concept-tree-child">children</a> if
   3.111 + <var title="">node</var> is a <code><a href="#documentfragment">DocumentFragment</a></code>
   3.112 + <a href="#concept-node" title="concept-node">node</a>, or a list containing
   3.113 + <var title="">node</var> otherwise.
   3.114  
   3.115   <li><p><a href="#concept-mo-queue-childlist" title="concept-MO-queue-childList">queue a "<code>childList</code>" record</a>
   3.116   with target <var title="">parent</var>, addedNodes
   3.117   <var title="">nodes</var>, removedNodes <var title="">parent</var>'s
   3.118   <a href="#concept-tree-child" title="concept-tree-child">children</a>, nextSibling null, and
   3.119   previousSibling null.
   3.120 -
   3.121 - <li><p><a href="#concept-node-remove" title="concept-node-remove">Remove</a> all
   3.122 - <var title="">parent</var>'s <a href="#concept-tree-child" title="concept-tree-child">children</a>,
   3.123 - with the <i title="">suppress observers flag</i> set.
   3.124 -
   3.125 - <li><p>If <var title="">node</var> is not null,
   3.126 - <a href="#concept-node-insert" title="concept-node-insert">insert</a> <var title="">node</var> into
   3.127 - <var title="">parent</var> before null with the
   3.128 - <i title="">suppress observers flag</i> set.
   3.129  </ol>
   3.130  
   3.131  <p class="note">This algorithm does not make any checks with regards to the
   3.132 @@ -2478,7 +2470,7 @@
   3.133   <dd><p>Return the <a href="#concept-tree-previous-sibling" title="concept-tree-previous-sibling">previous</a>
   3.134   and <a href="#concept-tree-next-sibling" title="concept-tree-next-sibling">next sibling</a> respectively
   3.135   of the added and/or removed <a href="#concept-node" title="concept-node">nodes</a>, or null
   3.136 - otherwise..
   3.137 + otherwise.
   3.138  
   3.139   <dt><code><var title="">record</var> . <a href="#dom-mutationrecord-attributename" title="dom-MutationRecord-attributeName">attributeName</a></code>
   3.140   <dd><p>Returns the <a href="#concept-attribute-name" title="concept-attribute-name">name</a> of the