blob: eef153dad65b81bf1ead288523c0b83b205d9a6c [file] [log] [blame]
This is a testharness.js-based test.
PASS Returns an empty array for an element with no animations
PASS Returns both animations for an element with two animations
PASS Returns only the animations specific to each sibling element
PASS Returns only the animations specific to each parent/child element
PASS Returns animations on descendants when subtree: true is specified
PASS Returns animations on pseudo-elements when subtree: true is specified
PASS Does NOT cross shadow-tree boundaries when subtree: true is specified
PASS Returns animations for a foreign element
PASS Does not return finished animations that do not fill forwards
PASS Returns finished animations that fill forwards
PASS Returns animations yet to reach their active phase
PASS Does not return reversed finished animations that do not fill backwards
PASS Returns reversed finished animations that fill backwards
PASS Returns reversed animations yet to reach their active phase
PASS Does not return animations with zero playback rate in before phase
PASS Does not return animations with zero playback rate in after phase
PASS Returns animations based on dynamic changes to individual animations' duration
PASS Returns animations based on dynamic changes to individual animations' end delay
PASS Returns animations based on dynamic changes to individual animations' iteration count
PASS Returns animations based on dynamic changes to individual animations' current time
FAIL Does not return an animation that has been removed assert_array_equals: lengths differ, expected 1 got 2
FAIL Returns an animation that has been persisted promise_test: Unhandled rejection with value: object "TypeError: animA.persist is not a function"
PASS Triggers a style change event
Harness: the test ran to completion.