web-animations/timing-model/animations/
179 / 181 WPT subtests passing
- Failed
- 2
- Timed out
- 0
- Not run
- 0
- Test files
- 17
- Blocking files
- 0
Chrome 178 / 181 WPT subtests passing on the same files, 1 blocking
Tests
17 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
canceling-an-animation.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- Canceling an animation should cause its start time and hold time to be unresolved
- A play-pending ready promise should be rejected when the animation is canceled
- A pause-pending ready promise should be rejected when the animation is canceled
- When an animation is canceled, it should create a resolved Promise
- The ready promise should be replaced when the animation is canceled
- The finished promise should NOT be rejected if the animation is already idle
- The cancel event should NOT be fired if the animation is already idle
- Canceling an animation should fire cancel event on orphaned element
finish-promise-after-reverse-delay.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Finish notification steps run when reversing during positive delay
finishing-an-animation.html 21 / 21 passingChrome 20 / 210 failedClean
21 passing subtests
- Finishing an animation with a zero playback rate throws
- Finishing an infinite animation throws
- Finishing an animation seeks to the end time
- Finishing an animation with a current time past the effect end jumps back to the end
- Finishing a reversed animation jumps to zero time
- Finishing a reversed animation with a current time less than zero makes it jump back to zero
- Finishing a paused animation resolves the start time
- Finishing a pause-pending animation resolves the pending task immediately and update the start time
- Finishing a pause-pending animation with negative playback rate resolves the pending task immediately
- Finishing an animation while play-pending resolves the pending task immediately
- Finishing an animation during an aborted pause makes it finished immediately
- Finishing an animation resolves the finished promise synchronously
- Finishing an animation without a target resolves the finished promise synchronously
- A pending ready promise is resolved and not replaced when the animation is finished
- A pending playback rate should be applied immediately when an animation is finished
- An exception should be thrown if the effective playback rate is zero
- An exception should be thrown when finishing if the effective playback rate is positive and the target effect end is infinity
- An exception is NOT thrown when finishing if the effective playback rate is negative and the target effect end is infinity
- Finishing an animation fires finish event on orphaned element
- Finishing a canceled animation sets the current and start times
- Finishing an animation fires finish event when a finish event listener is added as the finished promise resolves
invalidating-animation-before-start-time-synced.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Animation invalidated before startTime is set doesn't affect startTime
pausing-an-animation.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Pausing clears the start time
- Aborting a pause preserves the start time
- A pending ready promise should be resolved and not replaced when the animation is paused
- A pause-pending animation maintains the current time when applying a pending playback rate
- The animation's current time remains fixed after pausing
- Pausing a canceled animation sets the current time
play-states.html 16 / 16 passingChrome 16 / 160 failedClean
16 passing subtests
- reports 'idle' for an animation with an unresolved current time and no pending tasks
- reports 'paused' for an animation with a pending pause task
- reports 'paused' for an animation with a resolved current time and unresolved start time
- reports 'running' for an animation with a resolved start time and current time
- reports 'finished' when playback rate > 0 and current time = target effect end
- reports 'running' when playback rate = 0 and current time = target effect end
- reports 'running' when playback rate < 0 and current time = target effect end
- reports 'running' when playback rate > 0 and current time = 0
- reports 'running' when playback rate = 0 and current time = 0
- reports 'finished' when playback rate < 0 and current time = 0
- reports 'finished' when playback rate > 0 and current time = target effect end and there is a pending play task
- reports 'running' when playback rate > 0 and current time < target effect end and there is a pending play task
- reports 'running' for a play-pending animation
- reports 'paused' for a pause-pending animation
- reports 'finished' for a finished-pending animation
- reports the play state based on the pending playback rate
playing-an-animation.html 13 / 13 passingChrome 13 / 130 failedClean
13 passing subtests
- Playing a running animation leaves the current time unchanged
- Playing a finished animation seeks back to the start
- Playing a finished and reversed animation seeks to end
- Playing a pause-pending but previously finished animation seeks back to to the start
- Playing a finished animation clears the start time
- The ready promise should be replaced if the animation is not already pending
- A pending ready promise should be resolved and not replaced when the animation enters the running state
- Resuming an animation from paused calculates start time from hold time
- If a pause operation is interrupted, the ready promise is reused
- A pending playback rate is used when determining auto-rewind behavior
- Playing a canceled animation sets the start time
- Playing a canceled animation backwards sets the start time
- Resuming a paused animation after enough time has elapsed that it would have ended if playing remains running
reversing-an-animation.html 18 / 18 passingChrome 18 / 180 failedClean
18 passing subtests
- Reversing an animation inverts the playback rate
- Reversing an animation plays a pausing animation
- Reversing an animation maintains the same current time
- Reversing an animation does not cause it to leave the pending state
- Reversing an animation does not cause it to resolve the ready promise
- Reversing an animation when playbackRate > 0 and currentTime > effect end should make it play from the end
- Reversing an animation when playbackRate > 0 and currentTime < 0 should make it play from the end
- Reversing an animation when playbackRate < 0 and currentTime < 0 should make it play from the start
- Reversing an animation when playbackRate < 0 and currentTime > effect end should make it play from the start
- Reversing an animation when playbackRate > 0 and currentTime < 0 and the target effect end is positive infinity should throw an exception
- When reversing throws an exception, the playback rate remains unchanged
- Reversing animation when playbackRate = 0 and currentTime < 0 and the target effect end is positive infinity should NOT throw an exception
- Reversing an animation when playbackRate < 0 and currentTime < 0 and the target effect end is positive infinity should make it play from the start
- Reversing when when playbackRate == 0 should preserve the current time and playback rate
- Reversing an idle animation from starts playing the animation
- Reversing an animation without an active timeline throws an InvalidStateError
- Reversing should use the negative pending playback rate
- When reversing fails, it should restore any previous pending playback rate
seamlessly-updating-the-playback-rate-of-an-animation.html 10 / 10 passingChrome 9 / 100 failedClean
10 passing subtests
- Updating the playback rate maintains the current time
- Updating the playback rate while running makes the animation pending
- Updating the playback rate on a play-pending animation maintains the current time
- Updating the playback rate on a pause-pending animation maintains the current time
- If a pending playback rate is set multiple times, the latest wins
- In the idle state, the playback rate is applied immediately
- In the paused state, the playback rate is applied immediately
- Updating the playback rate on a finished animation maintains the current time
- Updating the playback rate to zero on a finished animation maintains the current time
- Updating the negative playback rate with the unresolved current time and a positive infinite associated effect end should not throw an exception
setting-the-current-time-of-an-animation.html 9 / 10 passingChrome 10 / 101 failedWith failures
- ¶
FAILValidate different value types that can be used to set current time
promise_test: Unhandled rejection with value: object "TypeError: TypeError"
9 passing subtests
- Setting the current time of a pending animation to unresolved does not throw a TypeError
- Setting the current time of a playing animation to unresolved throws a TypeError
- Setting the current time of a paused animation to unresolved throws a TypeError
- Setting the current time of a pausing animation applies a pending playback rate
- Setting the current time after the end with a positive playback rate
- Setting a negative current time with a positive playback rate
- Setting the current time after the end with a negative playback rate
- Setting a negative current time with a negative playback rate
- Setting the current time on an animation with a zero playback rate
setting-the-playback-rate-of-an-animation.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- The playback rate affects the rate of progress of the current time
- Setting the playback rate while play-pending preserves the current time
- Setting the playback rate while playing preserves the current time
- Setting the playback rate should clear any pending playback rate
- Setting the playback rate while paused preserves the current time and state
- Setting the playback rate while finished preserves the current time
- Reversing the playback rate while finished restarts the animation
- Setting a zero playback rate while running preserves the current time
setting-the-start-time-of-an-animation.html 12 / 13 passingChrome 13 / 131 failedWith failures
- ¶
FAILValidate different value types that can be used to set start time
promise_test: Unhandled rejection with value: object "TypeError: TypeError"
12 passing subtests
- Setting the start time of an animation without an active timeline
- Setting an unresolved start time an animation without an active timeline does not clear the current time
- Setting the start time clears the hold time
- Setting an unresolved start time sets the hold time
- Setting the start time resolves a pending ready promise
- Setting the start time resolves a pending pause task
- Setting an unresolved start time on a play-pending animation makes it paused
- Setting the start time updates the finished state
- Setting the start time of a play-pending animation applies a pending playback rate
- Setting the start time of a playing animation applies a pending playback rate
- Setting the start time on a running animation updates the play state
- Setting the start time on a reverse running animation updates the play state
setting-the-target-effect-of-an-animation.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- If new effect is null and old effect is not null the animation becomes finish-pending
- If animation has a pending pause task, reschedule that task to run as soon as animation is ready.
- If animation has a pending play task, reschedule that task to run as soon as animation is ready to play new effect.
- The pending play task should be rescheduled even after temporarily setting the effect to null
- When setting the effect of an animation to the effect of an existing animation, the existing animation's target effect should be set to null.
- After setting the target effect of animation to the target effect of an existing animation, the target effect's timing is updated to reflect the current time of the new animation.
- Setting the target effect to null causes a pending playback rate to be applied
setting-the-timeline-of-an-animation.html 16 / 16 passingChrome 16 / 160 failedClean
16 passing subtests
- After setting timeline on paused animation it is still paused
- After setting timeline on animation paused outside active interval it is still paused
- After setting timeline on an idle animation without a start time it is still idle
- After transitioning from a null timeline on an animation with a start time it is still running
- After transitioning from a null timeline on an animation with a sufficiently ancient start time it is finished
- After setting timeline on a play-pending animation it begins playing after pending
- After setting timeline on a pause-pending animation it becomes paused after pending
- After clearing timeline on paused animation it is still paused
- After clearing timeline on finished animation it is running
- After clearing timeline on running animation it is still running
- After clearing timeline on idle animation it is still idle
- After clearing timeline on play-pending animation it is still pending
- After clearing and re-setting timeline on play-pending animation it begins to play
- After clearing timeline on a pause-pending animation it is still pending
- After clearing and re-setting timeline on a pause-pending animation it completes pausing
- After clearing and re-setting timeline on an animation in the middle of an aborted pause, it continues playing using the same start time
start-time-compat.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Checking the start time of animations started at various times between two page rendering updates
the-current-time-of-an-animation.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- The current time returns the hold time when set
- The current time is unresolved when there is no associated timeline (and no hold time is set)
- The current time is unresolved when the start time is unresolved (and no hold time is set)
- The current time is calculated from the timeline time, start time and playback rate
- The current time does not progress if playback rate is 0
updating-the-finished-state.html 27 / 27 passingChrome 27 / 270 failedClean
27 passing subtests
- Updating the finished state when playing past end
- Updating the finished state when seeking past end
- Updating the finished state when seeking exactly to end
- Updating the finished state when playing in reverse past zero
- Updating the finished state when seeking a reversed animation past zero
- Updating the finished state when seeking a reversed animation exactly to zero
- Updating the finished state when playing before end
- Updating the finished state when seeking before end
- Updating the finished state when seeking a reversed animation before end
- Updating the finished state when playback rate is zero and the current time is less than zero
- Updating the finished state when playback rate is zero and the current time is less than end
- Updating the finished state when playback rate is zero and the current time is greater than end
- Updating the finished state when current time is unresolved
- Updating the finished state when there is a pending task
- Updating the finished state when start time is unresolved and did seek = false
- Updating the finished state when start time is unresolved and did seek = true
- Finish notification steps don't run when the animation seeks to finish and then seeks back again
- Finish notification steps run when the animation completes normally
- Finish notification steps run when an animation without a target effect completes normally
- Finish notification steps run when the animation seeks past finish
- Finish notification steps run when the animation completes with .finish(), even if we then seek away
- Animation finished promise is replaced after seeking back to start
- Animation finished promise is replaced after replaying from start
- Animation finish event is fired again after seeking back to start
- Animation finish event is fired again after replaying from start
- finish event is not fired at the end of the active interval when the endDelay has not expired
- finish event is fired after the endDelay has expired