blob: 5b93f9ef1636b9bd921bf1de89dfa0928eaf03b8 [file] [log] [blame]
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<div id="target"></div>
<script>
test(() => {
target.animate([{position: 'absolute'}], {fill: 'forwards'});
target.animate([{position: 'static', composite: 'add'}], {fill: 'forwards'});
getComputedStyle(target).position;
}, "Don't crash when compositing keyword animations.");
</script>