@@ -2379,6 +2379,8 @@ of a <var>node</var> into a <var>parent</var> before a <var>child</var>, run the
2379
2379
<li><p> If <var> referenceChild</var> is <var> node</var> , then set <var> referenceChild</var> to
2380
2380
<var> node</var> 's <a for=tree>next sibling</a> .
2381
2381
2382
+ <li><p> <a>Adopt</a> <var> node</var> into <var> parent</var> 's <a for=Node>node document</a> .
2383
+
2382
2384
<li><p> <a for=/>Insert</a> <var> node</var> into <var> parent</var> before <var> referenceChild</var> .
2383
2385
2384
2386
<li><p> Return <var> node</var> .
@@ -2443,8 +2445,6 @@ before a <var>child</var>, with an optional <i>suppress observers flag</i>, run
2443
2445
<p> For each <var> node</var> in <var> nodes</var> , in <a>tree order</a> :
2444
2446
2445
2447
<ol>
2446
- <li><p> <a>Adopt</a> <var> node</var> into <var> parent</var> 's <a for=Node>node document</a> .
2447
-
2448
2448
<li><p> If <var> child</var> is null, then <a for=set>append</a> <var> node</var> to
2449
2449
<var> parent</var> 's <a for=tree>children</a> .
2450
2450
@@ -2557,6 +2557,8 @@ within a <var>parent</var>, run these steps:
2557
2557
2558
2558
<li><p> Let <var> previousSibling</var> be <var> child</var> 's <a>previous sibling</a> .
2559
2559
2560
+ <li><p> <a>Adopt</a> <var> node</var> into <var> parent</var> 's <a for=Node>node document</a> .
2561
+
2560
2562
<li><p> Let <var> removedNodes</var> be the empty list.
2561
2563
2562
2564
<li>
@@ -2589,6 +2591,9 @@ within a <var>parent</var>, run these steps:
2589
2591
within a <var> parent</var> , run these steps:
2590
2592
2591
2593
<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
+
2592
2597
<li><p> Let <var> removedNodes</var> be <var> parent</var> 's <a>children</a> .
2593
2598
2594
2599
<li><p> Let <var> addedNodes</var> be the empty list.
@@ -5296,9 +5301,6 @@ must run these steps:
5296
5301
<li><p> If <var> node</var> is a <a for=/>shadow root</a> , then <a>throw</a> a
5297
5302
"{{HierarchyRequestError!!exception}} " {{DOMException}} .
5298
5303
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
-
5302
5304
<li><p> <a>Adopt</a> <var> node</var> into the <a>context object</a> .
5303
5305
5304
5306
<li><p> Return <var> node</var> .
0 commit comments