5 <title>GPU Feature Testing: Accelerated Compositing
</title>
8 -webkit-transform: translateZ(
0);
13 // 3 is not enough for threaded compositing, using 6 to avoid racing.
17 window
.webkitRequestAnimationFrame(draw
);
21 var table
= document
.getElementById("table");
22 table
.style
.backgroundColor
= (frameCount
& 1) ? 'red' : 'black';
23 if (frameCount
== totalRafs
) {
24 domAutomationController
.setAutomationId(1);
25 domAutomationController
.send("FINISHED");
27 window
.webkitRequestAnimationFrame(draw
);
32 <body onload=
"runTest()">
33 This page should trigger accelerated-compositing, i.e., gpu process should
34 launch, if accelerated-compositing is allowed.
35 <table id=
"table" width=
"10" height=
"10"><tr/></table>