16 <div id=
"container"></div>
19 'perspective(200px) translate3D(10px, 10px, 10px)',
20 'matrix(0, 1, 1, 0, 10, 10)',
26 'perspective(200px) rotateY(45deg)',
27 'none', // Composited animations fail to zoom the last expectation correctly. ):
28 ].forEach(transform
=> {
29 var text
= document
.createElement('div');
30 text
.textContent
= transform
;
31 container
.appendChild(text
);
33 var target
= document
.createElement('div');
34 target
.classList
.add('target');
35 container
.appendChild(target
);
37 {transform
: transform
},
38 {transform
: transform
},
42 internals
.setZoomFactor(2);
44 // We must wait a frame to let compositor animations render.
45 if (window
.testRunner
)
46 testRunner
.waitUntilDone();
48 requestAnimationFrame(() => {
49 requestAnimationFrame(() => {
50 if (window
.testRunner
)
51 testRunner
.notifyDone();