2 <html class=
"reftest-wait">
4 <title>Test for bug
1050493</title>
13 background-color: red;
18 <div style=
"left: 0; top: 0;" id=
"box"></div>
22 { x
: 4.6260797642782014, y
: 0.46260797642782014 },
23 { x
: 5.0304173163526205, y
: 0.4878118314685598 },
24 { x
: 5.0304173163526205, y
: 0.5041006554218519 },
25 { x
: 5.556750627747686, y
: 0.5041006554218519 }];
26 var s
= document
.getElementById('box').style
,
29 if (i
< positions
.length
) {
30 s
.left
= positions
[i
].x
+ "px";
31 s
.top
= positions
[i
].y
+ "px";
33 requestAnimationFrame(f
);
35 document
.documentElement
.className
= "";
38 window
.addEventListener("MozReftestInvalidate", function () {