Summary

Harness status: OK

Found 18 tests

Details

ResultTest NameMessage
PassgetAnimations for non-animated content
Asserts run
Pass
assert_equals(0, 0, "getAnimations returns an empty sequence for a document with no animations")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:41:3)
PassgetAnimations for CSS Animations
Asserts run
Pass
assert_equals(1, 1, "getAnimations returns a running CSS Animation")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:51:3)
Pass
assert_equals(2, 2, "getAnimations returns two running CSS Animations")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:56:3)
Pass
assert_equals(0, 0, "getAnimations returns no running CSS Animations")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:61:3)
PassOrder of CSS Animations - within an element unaffected by start time
Asserts run
Pass
assert_equals(1, 1, "getAnimations returns all running CSS Animations")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:71:3)
Pass
assert_equals(2, 2, "getAnimations returns all running CSS Animations")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:75:3)
Pass
assert_equals("animBottom", "animBottom", "Order of first animation returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:77:3)
Pass
assert_equals("animLeft", "animLeft", "Order of second animation returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:79:3)
PassOrder of CSS Animations - within an element
Asserts run
Pass
assert_equals(4, 4, "getAnimations returns all running CSS Animations")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:89:3)
Pass
assert_equals("animLeft", "animLeft", "Order of first animation returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:91:3)
Pass
assert_equals("animTop", "animTop", "Order of second animation returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:93:3)
Pass
assert_equals("animRight", "animRight", "Order of third animation returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:95:3)
Pass
assert_equals("animBottom", "animBottom", "Order of fourth animation returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:97:3)
PassOrder of CSS Animations - across elements
Asserts run
Pass
assert_equals(4, 4, "getAnimations returns all running CSS Animations")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:108:3)
Pass
assert_equals(Element node <div style="animation: animLeft 100s"></div>, Element node <div style="animation: animLeft 100s"></div>, "Order of first animation returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:110:3)
Pass
assert_equals(Element node <div style="animation: animLeft 100s"></div>, Element node <div style="animation: animLeft 100s"></div>, "Order of second animation returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:112:3)
Pass
assert_equals(Element node <div style="animation: animLeft 100s"></div>, Element node <div style="animation: animLeft 100s"></div>, "Order of third animation returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:114:3)
Pass
assert_equals(Element node <div style="animation: animLeft 100s"></div>, Element node <div style="animation: animLeft 100s"></div>, "Order of fourth animation returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:116:3)
Pass
assert_equals(Element node <div style="animation: animLeft 100s"><div style="animati..., Element node <div style="animation: animLeft 100s"><div style="animati..., "Order of first animation returned after tree surgery")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:131:3)
Pass
assert_equals(Element node <div style="animation: animLeft 100s"></div>, Element node <div style="animation: animLeft 100s"></div>, "Order of second animation returned after tree surgery")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:133:3)
Pass
assert_equals(Element node <div style="animation: animLeft 100s"></div>, Element node <div style="animation: animLeft 100s"></div>, "Order of third animation returned after tree surgery")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:135:3)
Pass
assert_equals(Element node <div style="animation: animLeft 100s"></div>, Element node <div style="animation: animLeft 100s"></div>, "Order of fourth animation returned after tree surgery")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:137:3)
PassOrder of CSS Animations - across and within elements
Asserts run
Pass
assert_equals(3, 3, "getAnimations returns all running CSS Animations")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:150:3)
Pass
assert_equals(Element node <div style="animation: animLeft 100s, animTop 100s"></div>, Element node <div style="animation: animLeft 100s, animTop 100s"></div>, "Target of animation in position 0")
    at  /css/css-animations/Document-getAnimations.tentative.html:153:5
Pass
assert_equals("animLeft", "animLeft", "Name of animation in position 0")
    at  /css/css-animations/Document-getAnimations.tentative.html:155:5
Pass
assert_equals(Element node <div style="animation: animLeft 100s, animTop 100s"></div>, Element node <div style="animation: animLeft 100s, animTop 100s"></div>, "Target of animation in position 1")
    at  /css/css-animations/Document-getAnimations.tentative.html:153:5
Pass
assert_equals("animTop", "animTop", "Name of animation in position 1")
    at  /css/css-animations/Document-getAnimations.tentative.html:155:5
Pass
assert_equals(Element node <div style="animation: animBottom 100s"></div>, Element node <div style="animation: animBottom 100s"></div>, "Target of animation in position 2")
    at  /css/css-animations/Document-getAnimations.tentative.html:153:5
Pass
assert_equals("animBottom", "animBottom", "Name of animation in position 2")
    at  /css/css-animations/Document-getAnimations.tentative.html:155:5
Pass
assert_equals(4, 4, "getAnimations returns all running CSS Animations after making changes")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:168:3)
Pass
assert_equals(Element node <div style="animation: animBottom 100s"><div style="anima..., Element node <div style="animation: animBottom 100s"><div style="anima..., "Target of animation in position 0 after changes")
    at  /css/css-animations/Document-getAnimations.tentative.html:172:5
Pass
assert_equals("animBottom", "animBottom", "Name of animation in position 0 after changes")
    at  /css/css-animations/Document-getAnimations.tentative.html:174:5
Pass
assert_equals(Element node <div style="animation: 100s ease 0s 1 normal none running..., Element node <div style="animation: 100s ease 0s 1 normal none running..., "Target of animation in position 1 after changes")
    at  /css/css-animations/Document-getAnimations.tentative.html:172:5
Pass
assert_equals("animLeft", "animLeft", "Name of animation in position 1 after changes")
    at  /css/css-animations/Document-getAnimations.tentative.html:174:5
Pass
assert_equals(Element node <div style="animation: 100s ease 0s 1 normal none running..., Element node <div style="animation: 100s ease 0s 1 normal none running..., "Target of animation in position 2 after changes")
    at  /css/css-animations/Document-getAnimations.tentative.html:172:5
Pass
assert_equals("animRight", "animRight", "Name of animation in position 2 after changes")
    at  /css/css-animations/Document-getAnimations.tentative.html:174:5
Pass
assert_equals(Element node <div style="animation: 100s ease 0s 1 normal none running..., Element node <div style="animation: 100s ease 0s 1 normal none running..., "Target of animation in position 3 after changes")
    at  /css/css-animations/Document-getAnimations.tentative.html:172:5
Pass
assert_equals("animTop", "animTop", "Name of animation in position 3 after changes")
    at  /css/css-animations/Document-getAnimations.tentative.html:174:5
PassOrder of CSS Animations - markup-bound vs free animations
Asserts run
Pass
assert_equals("animLeft", "animLeft", "Originally, animLeft animation comes first")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:182:3)
Pass
assert_equals(2, 2, "getAnimations returns markup-bound and free animations")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:190:3)
Pass
assert_equals("animTop", "animTop", "Markup-bound animations come first")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:192:3)
Pass
assert_equals(object "[object CSSAnimation]", object "[object CSSAnimation]", "Free animations come last")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:194:3)
PassOrder of CSS Animations - free animation vs CSS Transitions
Asserts run
Pass
assert_equals(2, 2, "Both CSS animations and transitions are returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:214:3)
Pass
assert_class_string(object "[object CSSTransition]", "CSSTransition", "Transition comes first")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:216:3)
Pass
assert_equals(object "[object CSSAnimation]", object "[object CSSAnimation]", "Free animations come last")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:217:3)
FailOrder of CSS Animations - free animationsassert_equals: Free animations are returned in the order they are started expected object "[object CSSAnimation]" but got object "[object CSSAnimation]"
    at Test.<anonymous> (https://www1.wpt.live/css/css-animations/Document-getAnimations.tentative.html:233:3)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/css/css-animations/Document-getAnimations.tentative.html:220:1
Asserts run
Pass
assert_equals(2, 2, "getAnimations returns free animations")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:231:3)
Fail
assert_equals(object "[object CSSAnimation]", object "[object CSSAnimation]", "Free animations are returned in the order they are started")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:233:3)
PassOrder of CSS Animations and CSS Transitions
Asserts run
Pass
assert_equals(2, 2, "Both CSS animations and transitions are returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:259:3)
Pass
assert_class_string(object "[object CSSTransition]", "CSSTransition", "Transition comes first")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:261:3)
Pass
assert_class_string(object "[object CSSAnimation]", "CSSAnimation", "Animation comes second")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:262:3)
PassFinished but filling CSS Animations are returned
Asserts run
Pass
assert_equals(1, 1, "Forwards-filling CSS animations are returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:268:3)
PassFinished but not filling CSS Animations are not returned
Asserts run
Pass
assert_equals(0, 0, "Non-filling finished CSS animations are not returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:275:3)
PassYet-to-start CSS Animations are returned
Asserts run
Pass
assert_equals(1, 1, "Yet-to-start CSS animations are returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:281:3)
PassCSS Animations canceled via the API are not returned
Asserts run
Pass
assert_equals(0, 0, "CSS animations canceled by the API are not returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:288:3)
PassCSS Animations canceled and restarted via the API are returned
Asserts run
Pass
assert_equals(1, 1, "CSS animations canceled and restarted by the API are returned")
    at Test.<anonymous> ( /css/css-animations/Document-getAnimations.tentative.html:297:3)
Passpseudo element with replaced target does not affect animation ordering
Asserts run
Pass
assert_equals(4, 4, "CSS animations on both pseudo-elements and elements are returned")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:339:3)
Pass
assert_equals(Element node <div id="parent"><div id="child"></div></div>, Element node <div id="parent"><div id="child"></div></div>, "Animation #1 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::before", "::before", "Animation #1 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals("anim2", "anim2", "Animation #1 has the expected name")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:359:11)
Pass
assert_equals(Element node <div id="parent"><div id="child"></div></div>, Element node <div id="parent"><div id="child"></div></div>, "Animation #2 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::after", "::after", "Animation #2 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals("anim1", "anim1", "Animation #2 has the expected name")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:359:11)
Pass
assert_equals(Element node <div id="child"></div>, Element node <div id="child"></div>, "Animation #3 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::before", "::before", "Animation #3 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals("anim4", "anim4", "Animation #3 has the expected name")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:359:11)
Pass
assert_equals(Element node <div id="child"></div>, Element node <div id="child"></div>, "Animation #4 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::after", "::after", "Animation #4 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals("anim3", "anim3", "Animation #4 has the expected name")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:359:11)
Pass
assert_equals(4, 4, "CSS animations on both pseudo-elements and elements are returned")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:339:3)
Pass
assert_equals(Element node <div id="child"></div>, Element node <div id="child"></div>, "Animation #1 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::before", "::before", "Animation #1 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals("anim2", "anim2", "Animation #1 has the expected name")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:359:11)
Pass
assert_equals(Element node <div id="parent"><div id="child"></div></div>, Element node <div id="parent"><div id="child"></div></div>, "Animation #2 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::after", "::after", "Animation #2 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals("anim1", "anim1", "Animation #2 has the expected name")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:359:11)
Pass
assert_equals(Element node <div id="parent"><div id="child"></div></div>, Element node <div id="parent"><div id="child"></div></div>, "Animation #3 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::before", "::before", "Animation #3 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals("anim4", "anim4", "Animation #3 has the expected name")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:359:11)
Pass
assert_equals(Element node <div id="child"></div>, Element node <div id="child"></div>, "Animation #4 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::after", "::after", "Animation #4 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals("anim3", "anim3", "Animation #4 has the expected name")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:359:11)
PassCSS Animations targetting (pseudo-)elements should have correct order after sorting
Asserts run
Pass
assert_equals(4, 4, "CSS animations on both pseudo-elements and elements are returned")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:339:3)
Pass
assert_equals(Element node <div id="parent" style="animation: animBottom 100s"><div ..., Element node <div id="parent" style="animation: animBottom 100s"><div ..., "Animation #1 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:366:9)
Pass
assert_equals(null, null, "Animation #1 has a null pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:371:9)
Pass
assert_equals(Element node <div id="parent" style="animation: animBottom 100s"><div ..., Element node <div id="parent" style="animation: animBottom 100s"><div ..., "Animation #2 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::before", "::before", "Animation #2 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals(Element node <div id="parent" style="animation: animBottom 100s"><div ..., Element node <div id="parent" style="animation: animBottom 100s"><div ..., "Animation #3 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::after", "::after", "Animation #3 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals(Element node <div style="animation: animBottom 100s"></div>, Element node <div style="animation: animBottom 100s"></div>, "Animation #4 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:366:9)
Pass
assert_equals(null, null, "Animation #4 has a null pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:371:9)
PassCSS Animations targetting (pseudo-)elements should have correct order after sorting (::marker)
Asserts run
Pass
assert_equals(5, 5, "CSS animations on both pseudo-elements and elements are returned")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:339:3)
Pass
assert_equals(Element node <div id="parent" style="animation: animBottom 100s"><div ..., Element node <div id="parent" style="animation: animBottom 100s"><div ..., "Animation #1 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:366:9)
Pass
assert_equals(null, null, "Animation #1 has a null pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:371:9)
Pass
assert_equals(Element node <div id="parent" style="animation: animBottom 100s"><div ..., Element node <div id="parent" style="animation: animBottom 100s"><div ..., "Animation #2 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::marker", "::marker", "Animation #2 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals(Element node <div id="parent" style="animation: animBottom 100s"><div ..., Element node <div id="parent" style="animation: animBottom 100s"><div ..., "Animation #3 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::before", "::before", "Animation #3 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals(Element node <div id="parent" style="animation: animBottom 100s"><div ..., Element node <div id="parent" style="animation: animBottom 100s"><div ..., "Animation #4 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:348:9)
Pass
assert_equals("::after", "::after", "Animation #4 has the expected pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:353:9)
Pass
assert_equals(Element node <div style="animation: animBottom 100s"></div>, Element node <div style="animation: animBottom 100s"></div>, "Animation #5 has the expected target")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:366:9)
Pass
assert_equals(null, null, "Animation #5 has a null pseudo type")
    at pseudoAnimCompare ( /css/css-animations/Document-getAnimations.tentative.html:371:9)