Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassReturned CSS transitions have the correct Animation.target
Asserts run
Pass
assert_equals(Element node <div style="left: 100px; transition: left 100s;"></div>, Element node <div style="left: 100px; transition: left 100s;"></div>, "Animation.target is the animatable div")
    at Test.<anonymous> ( /css/css-transitions/KeyframeEffect-target.tentative.html:22:3)
Passeffect.target should return the same CSSPseudoElement object each time
Asserts run
Pass
assert_equals(2, 2, "Got transitions running on ::after pseudo element")
    at Test.<anonymous> ( /css/css-transitions/KeyframeEffect-target.tentative.html:35:3)
Pass
assert_equals(Element node <div class="init change"></div>, Element node <div class="init change"></div>, "Both transitions return the same target object")
    at Test.<anonymous> ( /css/css-transitions/KeyframeEffect-target.tentative.html:37:3)
Passeffect.target from the script-generated animation should return the same CSSPseudoElement object as that from the CSS generated transition
Asserts run
Pass
assert_equals(2, 2, "Got animations running on ::after pseudo element")
    at Test.<anonymous> ( /css/css-transitions/KeyframeEffect-target.tentative.html:55:3)
Pass
assert_not_equals(object "[object CSSTransition]", object "[object Animation]", "The scriped-generated animation appears last")
    at Test.<anonymous> ( /css/css-transitions/KeyframeEffect-target.tentative.html:57:3)
Pass
assert_equals(Element node <div class="init change"></div>, Element node <div class="init change"></div>, "The effect.target of the scripted-generated animation is the same as the one from the argument of KeyframeEffect constructor")
    at Test.<anonymous> ( /css/css-transitions/KeyframeEffect-target.tentative.html:59:3)
Pass
assert_equals(Element node <div class="init change"></div>, Element node <div class="init change"></div>, "Both the transition and the scripted-generated animation return the same target object")
    at Test.<anonymous> ( /css/css-transitions/KeyframeEffect-target.tentative.html:63:3)