Pass | Offsets must be loosely sorted | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { document.documentElement.animate([ {offset: 0.6}, {offset: 0.4} ]); }")
at Test.<anonymous> ( /web-animations/animation-model/keyframe-effects/keyframe-exceptions.html:13:5) |
|
Pass | Invalid offset | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { document.documentElement.animate([ {offset: 'whatever'} ]); }")
at Test.<anonymous> ( /web-animations/animation-model/keyframe-effects/keyframe-exceptions.html:23:7) |
|
Pass | Offsets must be null or in the range [0,1] | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { document.documentElement.animate([ {offset: -1} ]); }")
at Test.<anonymous> ( /web-animations/animation-model/keyframe-effects/keyframe-exceptions.html:32:5) |
|