Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../../../resources/testharness.js"></script> | |
| 3 <script src="../../../resources/testharnessreport.js"></script> | |
| 4 <div id=target style="display:inline-block"></div> | |
| 5 <script> | |
| 6 var test = async_test('inline-block should run compositor animations'); | |
| 7 var anim = target.animate({transform: ['rotate(0deg)', 'rotate(180deg)']}, 10000 0); | |
| 8 anim.ready.then(() => { | |
| 9 test.step(() => assert_true(internals.isCompositedAnimation(anim))); | |
| 10 test.done(); | |
| 11 }); | |
| 12 </script> | |
| OLD | NEW |