@@ -2509,6 +2509,8 @@ of a <var>node</var> into a <var>parent</var> before a <var>child</var>, run the
25092509 <li><p> If <var> referenceChild</var> is <var> node</var> , then set <var> referenceChild</var> to
25102510 <var> node</var> 's <a for=tree>next sibling</a> .
25112511
2512+ <li><p> <a>Adopt</a> <var> node</var> into <var> parent</var> 's <a for=Node>node document</a> .
2513+
25122514 <li><p> <a for=/>Insert</a> <var> node</var> into <var> parent</var> before <var> referenceChild</var> .
25132515
25142516 <li><p> Return <var> node</var> .
@@ -2574,8 +2576,6 @@ before a <var>child</var>, with an optional <i>suppress observers flag</i>, run
25742576 <p> For each <var> node</var> in <var> nodes</var> , in <a>tree order</a> :
25752577
25762578 <ol>
2577- <li><p> <a>Adopt</a> <var> node</var> into <var> parent</var> 's <a for=Node>node document</a> .
2578-
25792579 <li><p> If <var> child</var> is null, then <a for=set>append</a> <var> node</var> to
25802580 <var> parent</var> 's <a for=tree>children</a> .
25812581
@@ -2689,6 +2689,8 @@ within a <var>parent</var>, run these steps:
26892689
26902690 <li><p> Let <var> previousSibling</var> be <var> child</var> 's <a>previous sibling</a> .
26912691
2692+ <li><p> <a>Adopt</a> <var> node</var> into <var> parent</var> 's <a for=Node>node document</a> .
2693+
26922694 <li><p> Let <var> removedNodes</var> be the empty set.
26932695
26942696 <li>
@@ -2721,6 +2723,9 @@ within a <var>parent</var>, run these steps:
27212723within a <var> parent</var> , run these steps:
27222724
27232725<ol>
2726+ <li><p> If <var> node</var> is non-null, then <a>adopt</a> <var> node</var> into <var> parent</var> 's
2727+ <a for=Node>node document</a> .
2728+
27242729 <li><p> Let <var> removedNodes</var> be <var> parent</var> 's <a for=tree>children</a> .
27252730
27262731 <li><p> Let <var> addedNodes</var> be the empty set.
@@ -5370,9 +5375,6 @@ these steps:
53705375 <li><p> If <var> node</var> is a <a for=/>shadow root</a> , then <a>throw</a> a
53715376 "{{HierarchyRequestError!!exception}} " {{DOMException}} .
53725377
5373- <li><p> If <var> node</var> is a {{DocumentFragment}} <a for=/>node</a> whose
5374- <a for=DocumentFragment>host</a> is non-null, then return.
5375-
53765378 <li><p> <a>Adopt</a> <var> node</var> into <a>this</a> .
53775379
53785380 <li><p> Return <var> node</var> .
0 commit comments