Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions web-animations-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ frame</a>.

### Timeline Phase ### {#timeline-phases}

A [=timeline=] may be in one of four possible
A [=timeline=] may be in one of four possible
<dfn export lt="timeline phase">phases</dfn>:

1. <dfn export lt="timeline inactive phase">inactive</dfn>
Expand Down Expand Up @@ -755,7 +755,7 @@ time=]. If |timeline| is inactive, return an [=unresolved=] [=time value=].

### The default document timeline ### {#the-documents-default-timeline}

Each {{Document}} has a <a>document timeline</a> called the
Each {{Document}} has a <a>document timeline</a> called the
<dfn export>default document timeline</dfn>.
The <a>default document timeline</a> is unique to each document and persists for
the lifetime of the document including calls to <a>document.open()</a> [[!HTML]].
Expand Down Expand Up @@ -1184,7 +1184,7 @@ as CSS Animations [[CSS-ANIMATIONS-1]].
</div>

1. If |seek time| is <a lt=unresolved>resolved</a>,

<div class="switch">

: If |has finite timeline| is true,
Expand Down Expand Up @@ -1684,7 +1684,7 @@ animation.finish(); // finish event is queued immediately and finished promise
animation.currentTime = 0;
</pre></div>

Note that like the procedure to <a>finish an animation</a>,
Note that like the procedure to <a>finish an animation</a>,
the procedure to <a>cancel an animation</a> similarly queues the
<a>cancel event</a> and rejects the <a>current finished promise</a> and
<a>current ready promise</a> in a <em>synchronous</em> manner.
Expand Down Expand Up @@ -1966,7 +1966,7 @@ The procedure to <dfn>reverse an animation</dfn> of <a>animation</a>
### Play states ### {#play-states}

An <a>animation</a> may be described as being in one of the following
<dfn lt="play state">play states</dfn> for each of which, a
<dfn lt="play state">play states</dfn> for each of which, a
non-normative description is also provided:

<div class=informative-bg>
Expand Down Expand Up @@ -1999,7 +1999,8 @@ condition from the following:
: <em>All</em> of the following conditions are true:
* The <a>current time</a> of <var>animation</var> is <a>unresolved</a>,
<em>and</em>
* the <a>start time</a> of <var>animation</var> is <a>unresolved</a>,
* the <a>start time</a> of <var>animation</var> is <a>unresolved</a>
or the <a>timeline</a> of <var>animation</var> is <a>null</a>,
<em>and</em>
* <var>animation</var> does <em>not</em> have <em>either</em>
a <a>pending play task</a> <em>or</em> a <a>pending pause task</a>,
Expand Down