28 background-color: #
00FF00;
33 <canvas id=
"canvas"></canvas>
34 <div id=
"overlay"><div id=
"follower"></div></div>
36 if (window
.testRunner
) {
37 testRunner
.waitUntilDone();
40 var canvas
= document
.getElementById("canvas");
44 var ctx
= canvas
.getContext("2d");
45 ctx
.fillStyle
= "#FF0000";
47 var follower
= document
.getElementById("follower");
49 drawLoop = function() {
51 ctx
.clearRect(0, 0, 300, 300);
52 ctx
.fillRect(0, 0, 50, 50);
54 if (window
.testRunner
) {
55 testRunner
.notifyDone();
59 window
.setTimeout(drawLoop
, 0);