12 transform: translate(
1em,
1em);
20 <span id=
"text"></span>
21 <div id=
"expectation"></div>
22 <div id=
"target"></div>
24 target
.style
.fontSize
= "50px";
25 var animation
= target
.animate([
26 {transform
: "translate(1em, 1em)"},
27 {transform
: "translate(1em, 1em)"},
33 testRunner
.waitUntilDone();
34 requestAnimationFrame(function() {
35 requestAnimationFrame(function() {
36 var composited
= internals
.isCompositedAnimation(animation
);
37 text
.textContent
= `Animation ${composited ? 'is' : 'is not'} running on the compositor.`;
38 testRunner
.notifyDone();