blob: 8d9a78d4497e877eacaf3d3c6a74e336c4a92570 [file] [log] [blame]
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<div id="target"></div>
<script>
test(() => {
target.style.left = '100px';
var animation = target.animate([{easing: 'steps(2, start)'}, {left: '200px'}], 1000);
animation.pause();
animation.currentTime = 0;
assert_equals(getComputedStyle(target).left, '150px');
}, 'Neutral keyframes should be able to specify their own keyframe timing function.');
</script>