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