@@ -2379,6 +2379,8 @@ of a <var>node</var> into a <var>parent</var> before a <var>child</var>, run the
23792379 <li><p> If <var> referenceChild</var> is <var> node</var> , then set <var> referenceChild</var> to
23802380 <var> node</var> 's <a for=tree>next sibling</a> .
23812381
2382+ <li><p> <a>Adopt</a> <var> node</var> into <var> parent</var> 's <a for=Node>node document</a> .
2383+
23822384 <li><p> <a for=/>Insert</a> <var> node</var> into <var> parent</var> before <var> referenceChild</var> .
23832385
23842386 <li><p> Return <var> node</var> .
@@ -2443,8 +2445,6 @@ before a <var>child</var>, with an optional <i>suppress observers flag</i>, run
24432445 <p> For each <var> node</var> in <var> nodes</var> , in <a>tree order</a> :
24442446
24452447 <ol>
2446- <li><p> <a>Adopt</a> <var> node</var> into <var> parent</var> 's <a for=Node>node document</a> .
2447-
24482448 <li><p> If <var> child</var> is null, then <a for=set>append</a> <var> node</var> to
24492449 <var> parent</var> 's <a for=tree>children</a> .
24502450
@@ -2557,6 +2557,8 @@ within a <var>parent</var>, run these steps:
25572557
25582558 <li><p> Let <var> previousSibling</var> be <var> child</var> 's <a>previous sibling</a> .
25592559
2560+ <li><p> <a>Adopt</a> <var> node</var> into <var> parent</var> 's <a for=Node>node document</a> .
2561+
25602562 <li><p> Let <var> removedNodes</var> be the empty list.
25612563
25622564 <li>
@@ -2589,6 +2591,9 @@ within a <var>parent</var>, run these steps:
25892591within a <var> parent</var> , run these steps:
25902592
25912593<ol>
2594+ <li><p> If <var> node</var> is non-null, then <a>adopt</a> <var> node</var> into <var> parent</var> 's
2595+ <a for=Node>node document</a> .
2596+
25922597 <li><p> Let <var> removedNodes</var> be <var> parent</var> 's <a>children</a> .
25932598
25942599 <li><p> Let <var> addedNodes</var> be the empty list.
@@ -5296,9 +5301,6 @@ must run these steps:
52965301 <li><p> If <var> node</var> is a <a for=/>shadow root</a> , then <a>throw</a> a
52975302 "{{HierarchyRequestError!!exception}} " {{DOMException}} .
52985303
5299- <li><p> If <var> node</var> is a {{DocumentFragment}} <a for=/>node</a> whose
5300- <a for=DocumentFragment>host</a> is non-null, then return.
5301-
53025304 <li><p> <a>Adopt</a> <var> node</var> into the <a>context object</a> .
53035305
53045306 <li><p> Return <var> node</var> .
0 commit comments