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