@@ -2331,6 +2331,8 @@ of a <var>node</var> into a <var>parent</var> before a <var>child</var>, run the
2331
2331
<li><p> If <var> referenceChild</var> is <var> node</var> , then set <var> referenceChild</var> to
2332
2332
<var> node</var> 's <a for=tree>next sibling</a> .
2333
2333
2334
+ <li><p> <a>Adopt</a> <var> node</var> into <var> parent</var> 's <a for=Node>node document</a> .
2335
+
2334
2336
<li><p> <a for=/>Insert</a> <var> node</var> into <var> parent</var> before <var> referenceChild</var> .
2335
2337
2336
2338
<li><p> Return <var> node</var> .
@@ -2395,8 +2397,6 @@ before a <var>child</var>, with an optional <i>suppress observers flag</i>, run
2395
2397
<p> For each <var> node</var> in <var> nodes</var> , in <a>tree order</a> :
2396
2398
2397
2399
<ol>
2398
- <li><p> <a>Adopt</a> <var> node</var> into <var> parent</var> 's <a for=Node>node document</a> .
2399
-
2400
2400
<li><p> If <var> child</var> is null, then <a for=set>append</a> <var> node</var> to
2401
2401
<var> parent</var> 's <a for=tree>children</a> .
2402
2402
@@ -2509,6 +2509,8 @@ within a <var>parent</var>, run these steps:
2509
2509
2510
2510
<li><p> Let <var> previousSibling</var> be <var> child</var> 's <a>previous sibling</a> .
2511
2511
2512
+ <li><p> <a>Adopt</a> <var> node</var> into <var> parent</var> 's <a for=Node>node document</a> .
2513
+
2512
2514
<li><p> Let <var> removedNodes</var> be the empty set.
2513
2515
2514
2516
<li>
@@ -2541,6 +2543,9 @@ within a <var>parent</var>, run these steps:
2541
2543
within a <var> parent</var> , run these steps:
2542
2544
2543
2545
<ol>
2546
+ <li><p> If <var> node</var> is non-null, then <a>adopt</a> <var> node</var> into <var> parent</var> 's
2547
+ <a for=Node>node document</a> .
2548
+
2544
2549
<li><p> Let <var> removedNodes</var> be <var> parent</var> 's <a>children</a> .
2545
2550
2546
2551
<li><p> Let <var> addedNodes</var> be the empty set.
@@ -5278,9 +5283,6 @@ must run these steps:
5278
5283
<li><p> If <var> node</var> is a <a for=/>shadow root</a> , then <a>throw</a> a
5279
5284
"{{HierarchyRequestError!!exception}} " {{DOMException}} .
5280
5285
5281
- <li><p> If <var> node</var> is a {{DocumentFragment}} <a for=/>node</a> whose
5282
- <a for=DocumentFragment>host</a> is non-null, then return.
5283
-
5284
5286
<li><p> <a>Adopt</a> <var> node</var> into <a>this</a> .
5285
5287
5286
5288
<li><p> Return <var> node</var> .
0 commit comments