Skip to content

Commit 877ebaf

Browse files
annevkzcorpan
authored andcommitted
execCommand: use range's collapsed concept instead of public API
1 parent 11c5efc commit 877ebaf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/execCommand/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2242,7 +2242,7 @@ <h3 id="inline-formatting-command-definitions">
22422242
"concept-node">node</a> <var title="">node</var> is <dfn id=
22432243
"effectively-contained">effectively contained</dfn> in a [=range=]
22442244
<var title="">range</var> if <var title="">range</var> is not
2245-
{{AbstractRange/collapsed}}, and at least one of the following holds:
2245+
[=range/collapsed=], and at least one of the following holds:
22462246
</p>
22472247
<ul>
22482248
<li>
@@ -5634,7 +5634,7 @@ <h3 id="block-formatting-command-definitions">
56345634
its <a href="#action">action</a>, the user agent must <a href=
56355635
"#record-current-overrides">record current overrides</a>. After
56365636
taking the <a href="#action">action</a>, if the <a href=
5637-
"#active-range">active range</a> is {{AbstractRange/collapsed}}, it
5637+
"#active-range">active range</a> is [=range/collapsed=], it
56385638
must <a href="#restore-states-and-values">restore states and
56395639
values</a> from the recorded list.
56405640
</p>
@@ -11077,7 +11077,7 @@ <h3 id="the-delete-command">
1107711077
</p>
1107811078
<ol>
1107911079
<li>If the <a href="#active-range">active range</a> is not
11080-
{{AbstractRange/collapsed}}, <a href="#delete-the-selection">delete
11080+
[=range/collapsed=], <a href="#delete-the-selection">delete
1108111081
the selection</a> and return true.
1108211082
</li>
1108311083
<li>
@@ -12251,7 +12251,7 @@ <h3 id="the-forwarddelete-command">
1225112251
</p>
1225212252
<ol>
1225312253
<li>If the <a href="#active-range">active range</a> is not
12254-
{{AbstractRange/collapsed}}, <a href="#delete-the-selection">delete
12254+
[=range/collapsed=], <a href="#delete-the-selection">delete
1225512255
the selection</a> and return true.
1225612256
</li>
1225712257
<li>

0 commit comments

Comments
 (0)