OLD | NEW |
---|---|
(Empty) | |
1 <script src="../resources/testharness.js"></script> | |
2 <script src="../resources/testharnessreport.js"></script> | |
3 <div id="target"></div> | |
4 <script> | |
5 test(() => { | |
6 target.animate({position: 'absolute'}, {fill: 'forwards'}); | |
7 target.animate({position: 'static', composite: 'add'}, {fill: 'forwards'}); | |
8 getComputedStyle(target).position; | |
9 }, "Don't crash when compositing keyword animations."); | |
10 </script> | |
OLD | NEW |