blob: 8cfd896bfc4ca6f389c8fb52aba0ed2d37adac0c [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>