<script src="../resources/testharness.js"></script> | |
<script src="../resources/testharnessreport.js"></script> | |
<div id="target"></div> | |
<script> | |
test(function() { | |
var animation = target.animate([{motionOffset: '-1%'}, {motionOffset: '1%'}], 1); | |
animation.pause(); | |
animation.currentTime = 0.5; | |
assert_equals(getComputedStyle(target).motionOffset, '0%'); | |
}); | |
</script> |