Skip to content

Commit

Permalink
Editorial: fix wording issue in "replace data"
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Jan 19, 2017
1 parent 627eeaa commit 6b76212
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4223,7 +4223,7 @@ for an <var>element</var> using <var>namespace</var>, run these steps:
<li><p>Return null.
</ol>

<p>To <dfn export>locate a namespace</dfn> for a <var>node</var> using <var>prefix</var> switch on
<p>To <dfn export>locate a namespace</dfn> for a <var>node</var> using <var>prefix</var>, switch on
<var>node</var>:

<dl class=switch>
Expand Down Expand Up @@ -6760,9 +6760,8 @@ To <dfn export id=concept-cd-replace>replace data</dfn> of node <var>node</var>
<li>If <var>offset</var> is greater than <var>length</var>, then <a>throw</a> an
{{IndexSizeError}}.

<li>If <var>offset</var> plus <var>count</var> is greater
than <var>length</var> let <var>count</var> be
<var>length</var> minus <var>offset</var>.
<li>If <var>offset</var> plus <var>count</var> is greater than <var>length</var>, then set
<var>count</var> to <var>length</var> minus <var>offset</var>.

<li><a>Queue a mutation record</a> of "<code>characterData</code>"
for <var>node</var> with oldValue <var>node</var>'s
Expand Down Expand Up @@ -9830,6 +9829,7 @@ Jungkee Song,
Justin Summerlin,
呂康豪 (Kang-Hao Lu),
Kevin Sweeney,
Kirill Topolyan,
Koji Ishii,
Lachlan Hunt,
Lauren Wood,
Expand Down

0 comments on commit 6b76212

Please sign in to comment.