Revision control

1
<script>
2
if (window.testRunner) {
3
window.testRunner.dumpAsText();
4
}
5
function eventhandler() {
6
var animation = element.animate({ "padding-left": [0, 1] }, 0.5);
7
animation.reverse();
8
animation.effect = null;
9
}
10
window.requestAnimationFrame(eventhandler);
11
</script>
12
<body>
13
<div id="element"></div>
14
<p>Ensure removing the effect from an active animation is handled correctly.</p>
15
<p>PASS if test does not crash.</p>
16
</body>