Skip to content

Commit 5ead2c6

Browse files
foolipdomenic
authored andcommitted
Editorial: fix curious wording in textTrack.addCue()/removeCue()
The method itself doesn't have a TextTrack object, it's invoked with that object as `this`. Also drop the "currently listed" wording that looks unusual.
1 parent fb00453 commit 5ead2c6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36982,8 +36982,8 @@ interface <dfn>TextTrack</dfn> : <span>EventTarget</span> {
3698236982
<li><p>If the given <var>cue</var> is in a <span>text track list of cues</span>, then
3698336983
remove <var>cue</var> from that <span>text track list of cues</span>.</p></li>
3698436984

36985-
<li><p>Add <var>cue</var> to the method's <code>TextTrack</code> object's <span>text
36986-
track</span>'s <span>text track list of cues</span>.</p></li>
36985+
<li><p>Add <var>cue</var> to the <code>TextTrack</code> object's <span>text track</span>'s
36986+
<span>text track list of cues</span>.</p></li>
3698736987

3698836988
</ol>
3698936989

@@ -36992,13 +36992,13 @@ interface <dfn>TextTrack</dfn> : <span>EventTarget</span> {
3699236992

3699336993
<ol>
3699436994

36995-
<li><p>If the given <var>cue</var> is not currently listed in the method's
36996-
<code>TextTrack</code> object's <span>text track</span>'s <span>text track list of cues</span>,
36997-
then throw a <span>"<code>NotFoundError</code>"</span> <code>DOMException</code> and abort these
36995+
<li><p>If the given <var>cue</var> is not in the <code>TextTrack</code> object's <span>text
36996+
track</span>'s <span>text track list of cues</span>, then throw a
36997+
<span>"<code>NotFoundError</code>"</span> <code>DOMException</code> and abort these
3699836998
steps.</p></li>
3699936999

37000-
<li><p>Remove <var>cue</var> from the method's <code>TextTrack</code> object's
37001-
<span>text track</span>'s <span>text track list of cues</span>.</p></li>
37000+
<li><p>Remove <var>cue</var> from the <code>TextTrack</code> object's <span>text track</span>'s
37001+
<span>text track list of cues</span>.</p></li>
3700237002

3700337003
</ol>
3700437004

0 commit comments

Comments
 (0)