Skip to content

Commit dce649b

Browse files
committed
[web-animations-1] Make order of applying pending playback rate and updating start time more consistent
This is just a tweak to make sure that *most* of the time we apply the pending playback rate first. This doesn't have any observable effects but provides a little added consistency.
1 parent f5eda3d commit dce649b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

web-animations-1/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -915,8 +915,8 @@ The procedure to <dfn>set the current time</dfn> of an animation,
915915
1. If <var>animation</var> has a <a>pending pause task</a>, synchronously
916916
complete the pause operation by performing the following steps:
917917
1. Set <var>animation</var>'s <a>hold time</a> to <var>seek time</var>.
918-
1. Make <var>animation</var>'s [=start time=] <a>unresolved</a>.
919918
1. [=Apply any pending playback rate=] to |animation|.
919+
1. Make <var>animation</var>'s [=start time=] <a>unresolved</a>.
920920
1. Cancel the <a>pending pause task</a>.
921921
1. <a lt="resolve a Promise">Resolve</a> <var>animation</var>'s
922922
<a>current ready promise</a> with <var>animation</var>.
@@ -953,10 +953,10 @@ is as follows:
953953
previous step which may cause the <a>current time</a> to become
954954
<a>unresolved</a>.
955955

956-
1. Set <var>animation</var>'s [=start time=] to <var>new start time</var>.
957-
958956
1. [=Apply any pending playback rate=] on |animation|.
959957

958+
1. Set <var>animation</var>'s [=start time=] to <var>new start time</var>.
959+
960960
1. Update <var>animation</var>'s <a>hold time</a> based on the first matching
961961
condition from the following,
962962

0 commit comments

Comments
 (0)