Skip to content

Commit

Permalink
Revert "Rename pre-insertion"
Browse files Browse the repository at this point in the history
This reverts commit 5c87649.
  • Loading branch information
domfarolino committed Dec 11, 2024
1 parent 5c87649 commit 9f4ee3b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2583,7 +2583,7 @@ steps:
<h4 id=mutation-algorithms>Mutation algorithms</h4>

<p>To
<dfn export for=Node id=concept-node-ensure-pre-insert-validity>ensure pre-insert validity</dfn>
<dfn export for=Node id=concept-node-ensure-pre-insertion-validity>ensure pre-insertion validity</dfn>
of a <var>node</var> into a <var>parent</var> before a <var>child</var>, run these steps:

<ol>
Expand Down Expand Up @@ -2638,7 +2638,7 @@ of a <var>node</var> into a <var>parent</var> before a <var>child</var>, run the
<var>parent</var> before a <var>child</var>, run these steps:

<ol>
<li><p><a>Ensure pre-insert validity</a> of <var>node</var> into <var>parent</var> before
<li><p><a>Ensure pre-insertion validity</a> of <var>node</var> into <var>parent</var> before
<var>child</var>.

<li><p>Let <var>referenceChild</var> be <var>child</var>.
Expand Down Expand Up @@ -2699,7 +2699,7 @@ of a <var>node</var> into a <var>parent</var> before a <var>child</var>, run the
</ol>

<p class=note>The <a>ensure pre-move validity</a> steps are a similar, but slightly stricter version
of the <a>ensure pre-insert validity</a> steps.</p>
of the <a>ensure pre-insertion validity</a> steps.</p>

<p>To <dfn export id=concept-node-pre-move>pre-move</dfn> a <var>node</var> into a
<var>parent</var> before a <var>child</var>, run these steps:
Expand Down Expand Up @@ -3418,7 +3418,7 @@ are:
<li><p>Let <var>node</var> be the result of <a>converting nodes into a node</a> given <a>this</a>,
<var>nodes</var>, and <a>this</a>'s <a for=Node>node document</a>.

<li><p><a>Ensure pre-insert validity</a> of <var>node</var> into <a>this</a> before
<li><p><a>Ensure pre-insertion validity</a> of <var>node</var> into <a>this</a> before
null.

<li><p><a for=Node>Replace all</a> with <var>node</var> within <a>this</a>.
Expand Down Expand Up @@ -9217,12 +9217,12 @@ result of <a for="live range">cloning the contents</a> of <a>this</a>.
<!-- IE9 and Chrome 12 dev throw an exception before splitting the text
node if the insertBefore() is going to throw an exception (at least if the
new node is the parent of the start node, for instance). Firefox 4.0 and
Opera 11.00 don't. Now that we have "ensure pre-insert validity," we go
Opera 11.00 don't. Now that we have "ensure pre-insertion validity," we go
with the IE/Chrome behavior because it's more correct.
IE9 doesn't call splitText() if the offset is 0. This makes sense, but I go
with what all other browsers do. -->
<li><a>Ensure pre-insert validity</a>
<li><a>Ensure pre-insertion validity</a>
of <var>node</var> into <var>parent</var> before
<var>referenceNode</var>.

Expand Down

0 comments on commit 9f4ee3b

Please sign in to comment.