@@ -2611,9 +2611,9 @@ steps:
2611
2611
2612
2612
<h4 id=mutation-algorithms>Mutation algorithms</h4>
2613
2613
2614
- <p> To
2615
- <dfn export for=Node id=concept- node-ensure-pre-insertion-validity>ensure pre-insertion validity</dfn>
2616
- of a <var > node</var> into a <var> parent </var> before a <var> child</var> , run these steps :
2614
+ <p> To <dfn id=concept-node-ensure-pre-insertion-validity>ensure pre-insert validity</dfn> of a
2615
+ <a for=/>node</a> <var> node</var> into a <a for=/>node</a> <var> parent </var> before a
2616
+ <a for=/ >node</a> <var> child</var> :
2617
2617
2618
2618
<ol>
2619
2619
<li><p> If <var> parent</var> is not a {{Document}} , {{DocumentFragment}} , or {{Element}}
@@ -2667,7 +2667,7 @@ of a <var>node</var> into a <var>parent</var> before a <var>child</var>, run the
2667
2667
<var> parent</var> before a <var> child</var> , run these steps:
2668
2668
2669
2669
<ol>
2670
- <li><p> <a>Ensure pre-insertion validity</a> of <var> node</var> into <var> parent</var> before
2670
+ <li><p> <a>Ensure pre-insert validity</a> of <var> node</var> into <var> parent</var> before
2671
2671
<var> child</var> .
2672
2672
2673
2673
<li><p> Let <var> referenceChild</var> be <var> child</var> .
@@ -3039,7 +3039,7 @@ optional <i>suppress observers flag</i>, run these steps:
3039
3039
3040
3040
<li><p> For each {{NodeIterator}} object <var> iterator</var> whose
3041
3041
<a for=traversal>root</a> 's <a for=Node>node document</a> is <var>node</var>' s
3042
- <a for=Node>node document</a> , run the <a><code>NodeIterator</code> pre-removing steps</a> given
3042
+ <a for=Node>node document</a> , run the <a><code>NodeIterator</code> pre-remove steps</a> given
3043
3043
<var> node</var> and <var> iterator</var> .
3044
3044
3045
3045
<li><p> Let <var> oldPreviousSibling</var> be <var> node</var> 's <a>previous sibling</a> .
@@ -3275,8 +3275,7 @@ are:
3275
3275
<li><p> Let <var> node</var> be the result of <a>converting nodes into a node</a> given
3276
3276
<var> nodes</var> and <a>this</a> 's <a for=Node>node document</a> .
3277
3277
3278
- <li><p> <a>Ensure pre-insertion validity</a> of <var> node</var> into <a>this</a> before
3279
- null.
3278
+ <li><p> <a>Ensure pre-insert validity</a> of <var> node</var> into <a>this</a> before null.
3280
3279
3281
3280
<li><p> <a for=Node>Replace all</a> with <var> node</var> within <a>this</a> .
3282
3281
</ol>
@@ -9058,13 +9057,12 @@ result of <a for="live range">cloning the contents</a> of <a>this</a>.
9058
9057
<!-- IE9 and Chrome 12 dev throw an exception before splitting the text
9059
9058
node if the insertBefore() is going to throw an exception (at least if the
9060
9059
new node is the parent of the start node, for instance). Firefox 4.0 and
9061
- Opera 11.00 don't. Now that we have "ensure pre-insertion validity," we go
9060
+ Opera 11.00 don't. Now that we have "ensure pre-insert validity," we go
9062
9061
with the IE/Chrome behavior because it's more correct.
9063
9062
9064
9063
IE9 doesn't call splitText() if the offset is 0. This makes sense, but I go
9065
9064
with what all other browsers do. -->
9066
- <li> <a>Ensure pre-insertion validity</a>
9067
- of <var> node</var> into <var> parent</var> before
9065
+ <li> <a>Ensure pre-insert validity</a> of <var> node</var> into <var> parent</var> before
9068
9066
<var> referenceNode</var> .
9069
9067
9070
9068
<li> If <var> range</var> 's <a for=range>start node</a> is a {{Text}} <a for=/>node</a> , set
@@ -9403,8 +9401,8 @@ filter matches any <a for=/>node</a>.
9403
9401
<a for=traversal>active flag</a> , <a for=traversal>root</a> , <a for=traversal>whatToShow</a> , and
9404
9402
<a for=traversal>filter</a> as well.
9405
9403
9406
- <p> The <dfn><code>NodeIterator</code> pre-removing steps</dfn> given a <var> nodeIterator </var> and
9407
- <var> toBeRemovedNode</var> , are as follows:
9404
+ <p> The <dfn id=nodeiterator-pre-removing-steps ><code>NodeIterator</code> pre-remove steps</dfn>
9405
+ given a <var> nodeIterator </var> and <var> toBeRemovedNode</var> , are as follows:
9408
9406
9409
9407
<ol>
9410
9408
<li><p> If <var> toBeRemovedNode</var> is not an <a for=tree>inclusive ancestor</a> of
0 commit comments