Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>Compositing keyword animations should not crash</title>
<div id="target"></div>
<script>
target.animate([{position: 'absolute'}], {fill: 'forwards'});
target.animate([{position: 'static', composite: 'add'}], {fill: 'forwards'});
getComputedStyle(target).position;
</script>