<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> |