Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassAnimationEffect.updateTiming({ duration }) causes changes to the animation-duration to be ignored
Asserts run
Pass
assert_equals(2000, 2000, "Duration should be the value set by the API")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:27:3)
Pass
assert_equals(6000, 6000, "Delay should be the value set by style")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:32:3)
PassAnimationEffect.updateTiming({ iterations, direction }) causes changes to the animation-iteration-count and animation-direction to be ignored
Asserts run
Pass
assert_equals(2, 2, "Iterations should be the value set by the API")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:64:3)
Pass
assert_equals("reverse", "reverse", "Direction should be the value set by the API")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:69:3)
Pass
assert_equals(6000, 6000, "Delay should be the value set by style")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:74:3)
Pass
assert_equals("both", "both", "Fill should be the value set by style")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:79:3)
PassAnimationEffect.updateTiming({ delay, fill }) causes changes to the animation-delay and animation-fill-mode to be ignored
Asserts run
Pass
assert_equals(2000, 2000, "Delay should be the value set by the API")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:99:3)
Pass
assert_equals("both", "both", "Fill should be the value set by the API")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:104:3)
Pass
assert_equals(6, 6, "Iterations should be the value set by style")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:109:3)
Pass
assert_equals("reverse", "reverse", "Direction should be the value set by style")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:114:3)
PassAnimationEffect.updateTiming() does override to changes from animation-* properties if there is an error
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => {     animation.effect.updateTiming({ duration: 2 * MS_PER_SEC, iterations: -1 });   }", "Negative iteration count should cause an error to be thrown")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:127:3)
Pass
assert_equals(4000, 4000, "Duration should be the value set by style")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:133:3)
PassAnimationEffect properties that do not map to animation-* properties should not be changed when animation-* style is updated
Asserts run
Pass
assert_equals("steps(4)", "steps(4)", "endDelay should be the value set by the API")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:155:3)
Pass
assert_equals(2000, 2000, "endDelay should be the value set by the API")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:160:3)
Pass
assert_equals(4, 4, "iterationStart should be the value set by style")
    at Test.<anonymous> ( /css/css-animations/AnimationEffect-updateTiming.tentative.html:165:3)