Skip to content

Commit 42148b5

Browse files
birtlessvgeesus
authored andcommitted
Replace 'playing' state with 'running' to better align with CSS Animations
1 parent e925b4d commit 42148b5

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

web-animations/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ <h3>The current ready promise</h3>
797797
</p>
798798
<p>
799799
For example, in the following code fragment, the state of the player
800-
will be <a title="playing play state">playing</a> when the
800+
will be <a title="running play state">running</a> when the
801801
<a>current ready promise</a> is resolved.
802802
This is because the player does not leave the <a>pending play
803803
state</a> in between the calls to <code>pause</code> and
@@ -807,7 +807,7 @@ <h3>The current ready promise</h3>
807807
<pre class='example sh_javascript'>
808808
player.pause();
809809
player.ready.then(function() {
810-
// Displays 'playing'
810+
// Displays 'running'
811811
alert(player.playState);
812812
});
813813
player.play();
@@ -1335,7 +1335,7 @@ <h3>Player state</h3>
13351335
In this state the player has no effect.</dd>
13361336
<dt><dfn title="pending play state">pending</dfn></dt>
13371337
<dd>The player is waiting on some pending task to complete.</dd>
1338-
<dt><dfn title="playing play state">playing</dfn></dt>
1338+
<dt><dfn title="running play state">running</dfn></dt>
13391339
<dd>The player has a resolved <a>current time</a> that changes on each
13401340
<a>sample</a>.</dd>
13411341
<dt><dfn title="paused play state">paused</dfn></dt>
@@ -1366,7 +1366,7 @@ <h3>Player state</h3>
13661366
<a>current time</a> &le; 0,</dt>
13671367
<dd>&rarr; <a title="finished play state">finished</a></dd>
13681368
<dt>Otherwise,</dt>
1369-
<dd>&rarr; <a title="playing play state">playing</a></dd>
1369+
<dd>&rarr; <a title="running play state">running</a></dd>
13701370
</dl>
13711371
<div class="note">
13721372
<p>
@@ -5735,8 +5735,8 @@ <h3>The <code>AnimationPlayState</code> enumeration</h3>
57355735
<dd>Corresponds to the <a>idle play state</a>.</dd>
57365736
<dt>pending</dt>
57375737
<dd>Corresponds to the <a>pending play state</a>.</dd>
5738-
<dt>playing</dt>
5739-
<dd>Corresponds to the <a>playing play state</a>.</dd>
5738+
<dt>running</dt>
5739+
<dd>Corresponds to the <a>running play state</a>.</dd>
57405740
<dt>paused</dt>
57415741
<dd>Corresponds to the <a>paused play state</a>.</dd>
57425742
<dt>finished</dt>

0 commit comments

Comments
 (0)