blob: f3b2a3e9e0d573bd3dd156391b65e32649bd30d3 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<div id="target" style="display:inline-block">x</div>
<script>
var test = async_test('inline-block should run compositor animations');
var anim = target.animate({transform: ['rotate(0deg)', 'rotate(180deg)']}, 100000);
anim.ready.then(() => {
test.step(() => assert_true(internals.isCompositedAnimation(anim)));
test.done();
});
</script>