Skip to content

Commit

Permalink
Correct boundary point comparison in set the start or end
Browse files Browse the repository at this point in the history
Fixes #924.
  • Loading branch information
chansuke authored Nov 18, 2020
1 parent 52f7a52 commit 73e7f33
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -7803,27 +7803,27 @@ steps:
<dt>If these steps were invoked as "set the start"
<dd>
<ol>
<li>If <var>bp</var> is
<a for="boundary point">after</a> the
<var>range</var>'s <a for=range>end</a>, or
if <var>range</var>'s
<li>If <var>range</var>'s
<a for="live range">root</a> is not equal to
<var>node</var>'s <a for=tree>root</a>, set
<var>range</var>'s <a for=range>end</a> to
<var>bp</var>.
<var>node</var>'s <a for=tree>root</a>,
or if <var>bp</var> is
<a for="boundary point">after</a> the
<var>range</var>'s <a for=range>end</a>, set
<var>range</var>'s <a for=range>end</a>
to <var>bp</var>.

<li>Set <var>range</var>'s
<a for=range>start</a> to <var>bp</var>.
</ol>
<dt>If these steps were invoked as "set the end"
<dd>
<ol>
<li>If <var>bp</var> is
<a for="boundary point">before</a> the
<var>range</var>'s <a for=range>start</a>,
or if <var>range</var>'s
<li>If <var>range</var>'s
<a for="live range">root</a> is not equal to
<var>node</var>'s <a for=tree>root</a>, set
<var>node</var>'s <a for=tree>root</a>,
or if <var>bp</var> is
<a for="boundary point">before</a> the
<var>range</var>'s <a for=range>start</a>, set
<var>range</var>'s <a for=range>start</a>
to <var>bp</var>.

Expand Down Expand Up @@ -10106,7 +10106,8 @@ Yash Handa,
Yehuda Katz,
Yoav Weiss,
Yoichi Osato,
Yoshinori Sano, and
Yoshinori Sano,
Yusuke Abe, and
Zack Weinberg
for being awesome!

Expand Down

0 comments on commit 73e7f33

Please sign in to comment.