web-animations/interfaces/Animation/
146 / 151 WPT subtests passing
- Failed
- 5
- Timed out
- 0
- Not run
- 0
- Test files
- 21
- Blocking files
- 0
Chrome 136 / 152 WPT subtests passing on the same files, none blocking, 2 without a result
Tests
21 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
animation-range-invalid.html 11 / 11 passingChrome 1 / 110 failedClean
11 passing subtests
- range with font-relative units via string
- range with font-relative units via string in calc
- Range with font-relative units via typed CSSOM with range names
- Range with font-relative units via typed CSSOM using CSSMathSum with range names
- Range with font-relative units via typed CSSOM without range names
- Range with font-relative units via typed CSSOM using CSSMathSum without range names
- Range with font-relative units via direct typed CSSOM without range names
- Range with font-relative units via direct typed CSSOM using CSSMathSum with range names
- Range with invalid range name in string
- Range with invalid range name via dictionary
- Range with invalid range name with offset
cancel-event-on-element-removal.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Animation.cancel event fires when element is removed
cancel.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Animated style is cleared after calling Animation.cancel()
- After cancelling an animation, it can still be seeked
- After cancelling an animation, it can still be re-used
- Animation.finished promise should not be rejected by cancel method once it is resolved with inside finish method
commitStyles-crash.html none reportedChrome —0 failedClean
/web-animations/interfaces/Animation/commitStyles-crash.html PASS none reported
No subtests were reported.
commitStyles-svg-crash.html none reportedChrome —0 failedClean
/web-animations/interfaces/Animation/commitStyles-svg-crash.html PASS none reported
No subtests were reported.
commitStyles.html 34 / 36 passingChrome 31 / 362 failedWith failures
- ¶
FAILCommits values of animations with a lower composite order when the animation is not in effect
assert_approx_equals: expected 0.15 +/- 0.0001 but got 0.1
- ¶
FAILCommits matrix-interpolated relative transforms
assert_equals: Resolved transform is correct after commit. expected "matrix(2, 0, 0, 2, 100, 0)" but got "matrix(3, 0, 0, 3, 0, 0)"
34 passing subtests
- Throws if the target element is not something with a style attribute
- Throws if the target element is a pseudo element
- Checks the pseudo element condition before the not rendered condition
- Throws if the target effect is disconnected
- Throws if the target effect is display:none
- Throws if the target effect's ancestor is display:none
- Treats display:contents as rendered
- Treats display:contents in a display:none subtree as not rendered
- Commits styles
- Commits styles for backwards animation
- Commits values calculated mid-interval
- Commits values during the start delay
- Commits value after the active interval
- Commits the intermediate value of an animation in the middle of stack
- Commits the intermediate value of an animation up to the middle of the stack
- Commits styles for an animation that has been removed
- Calling commitStyles() on a canceled animation with a removed replace state does not throw
- Does not commit the value of the replacing animation when committing a canceled animation with a removed replace state
- Does not commit values of animations with a higher composite order when the animation is not in effect
- Commit composites on top of the underlying value
- Commit styles of an animation when another animation runs with a different prop
- Commits logical properties
- Commits logical properties as physical properties
- Commits em units as pixel values
- Commits custom variables
- Commits variable references as their computed values
- Commits relative line-height
- Commits transforms
- Commits styles for individual transform properties
- Commits transforms as a transform list
- Commits 'none' transform
- Commits shorthand styles
- Triggers mutation observers when updating style
- Does NOT trigger mutation observers when the change to style is redundant
constructor.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- Animation can be constructed with null effect and null timeline
- Animation can be constructed with null effect and non-null timeline
- Animation can be constructed with null effect and no timeline parameter
- Animation can be constructed with non-null effect and null timeline
- Animation can be constructed with non-null effect and non-null timeline
- Animation can be constructed with non-null effect and no timeline parameter
- Animation constructed by an effect with null target runs normally
- Animation constructed with a keyframe that target element is in iframe
- Animation created with an affect associated with another animation.
effect.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- effect is set correctly.
- Clearing and setting Animation.effect should update the computed style of the target element
finished.html 22 / 22 passingChrome 22 / 220 failedClean
22 passing subtests
- Test pausing then playing does not change the finished promise
- Test restarting a finished animation
- Test restarting a reversed finished animation
- Test redundant finishing of animation
- Finished promise does not resolve when paused
- Finished promise does not resolve when pause-pending
- The finished promise is fulfilled with its Animation
- finished promise is rejected when an animation is canceled by calling cancel()
- canceling an already-finished animation replaces the finished promise
- Test finished promise changes for animation duration changes
- Test finished promise changes when playbackRate == 0
- Test finished promise resolves when reaching to the natural boundary.
- Test finished promise changes when a prior finished promise resolved and the animation falls out finished state
- Test no new finished promise generated when finished state is checked asynchronously
- Test new finished promise generated when finished state is checked synchronously
- Test synchronous finished promise resolved even if finished state is changed soon
- Test synchronous finished promise resolved even if asynchronous finished promise happens just before synchronous promise
- Test finished promise is not resolved when the animation falls out finished state immediately
- Test finished promise is not resolved once the animation falls out finished state even though the current finished promise is generated soon after animation state became finished
- Finished promise should be resolved after the ready promise is resolved
- Finished promise should be rejected after the ready promise is rejected
- Finished promise does not report an unhandledrejection when rejected
id.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Animation.id initial value
- Animation.id setter
oncancel.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- oncancel event is fired when animation.cancel() is called.
onfinish.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- onfinish event is fired when the currentTime < 0 and the playbackRate < 0
- onfinish event is fired when the currentTime > 0 and the playbackRate > 0
- onfinish event is fired when animation.finish() is called
- onfinish event is not fired when paused
- onfinish event is not fired when the playbackRate is zero
- onfinish event is not fired when the animation falls out finished state immediately
- Animation can be restarted from the onfinish event
onremove.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- onremove event is fired when replaced animation is removed.
- onremove events are fired in the correct order
overallProgress.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- overallProgress of a newly created animation without an effect is unresolved
- overallProgress of an animation whose currentTime is unresolved is unresolved.
- overallProgress of an animation whose effect's endTime is zero is zero if its currentTime is negative.
- overallProgress of an animation whose effect's endTime is zero is one if its currentTime is non-negative.
- overallProgress of an animation whose effect's endTime is infinity is zero.
- overallProgress of an animation is calculated by currentTime / effect endTime.
pause.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- pause() a running animation
- pause() from idle
- pause() from idle with a negative playbackRate
- pause() from idle with a negative playbackRate and endless effect
- pause() on a finished animation
pending.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- reports true -> false when initially played
- reports true -> false when paused
- reports true -> true when played without a timeline
- reports true -> true when paused without a timeline
persist.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Allows an animation to be persisted after being removed
- Allows an animation to be persisted before being removed
play.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- play() throws when seeking an infinite-duration animation played in reverse
ready.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- A new ready promise is created when play()/pause() is called
- Redundant calls to play() do not generate new ready promise objects
- The ready promise is fulfilled with its Animation
- The ready promise does not report an unhandledrejection when rejected
startTime.html 6 / 6 passingChrome 5 / 60 failedClean
6 passing subtests
- startTime of a newly created (idle) animation is unresolved
- startTime of a play-pending animation is unresolved
- startTime of a pause-pending animation is unresolved
- startTime of a play-pending animation created using Element.animate shortcut is unresolved
- startTime is resolved when running
- startTime and currentTime are unresolved when animation is cancelled
style-change-events.html 23 / 26 passingChrome 27 / 273 failedWith failures
- ¶
FAILAll property keys are recognized
assert_in_array: Test property 'rangeStart' should be one of the properties on Animation value "rangeStart" not in array ["id", "effect", "timeline", "playbackRate", "playState", "replaceState", "pending", "ready", "finished", "onfinish", "oncancel", "onremove", "startTime", "currentTime", "trigger", "overallProgress", "cancel", "finish", "play", "pause", "updatePlaybackRate", "reverse", "persist", "commitStyles", "Animation constructor"]
- ¶
FAILAnimation.trigger produces expected style change events
assert_own_property: Should have a test for 'trigger' property expected property "trigger" missing
- ¶
FAILAnimation.commitStyles produces expected style change events
assert_true: A transition should have been triggered expected true got false
23 passing subtests
- Animation.id produces expected style change events
- Animation.effect produces expected style change events
- Animation.timeline produces expected style change events
- Animation.playbackRate produces expected style change events
- Animation.playState produces expected style change events
- Animation.replaceState produces expected style change events
- Animation.pending produces expected style change events
- Animation.ready produces expected style change events
- Animation.finished produces expected style change events
- Animation.onfinish produces expected style change events
- Animation.oncancel produces expected style change events
- Animation.onremove produces expected style change events
- Animation.startTime produces expected style change events
- Animation.currentTime produces expected style change events
- Animation.overallProgress produces expected style change events
- Animation.cancel produces expected style change events
- Animation.finish produces expected style change events
- Animation.play produces expected style change events
- Animation.pause produces expected style change events
- Animation.updatePlaybackRate produces expected style change events
- Animation.reverse produces expected style change events
- Animation.persist produces expected style change events
- Animation.Animation constructor produces expected style change events