Bug 460926 A11y hierachy is broken on Ubuntu 8.10 (GNOME 2.24), r=Evan.Yan sr=roc
[wine-gecko.git] / testing / performance / talos / page_load_test / dhtml / diagball.html
blob59dfda0513973770bf7bf580df56f1a53d1b99e0
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head>
3 <!-- MOZ_INSERT_CONTENT_HOOK -->
4 <title>Moving Ball</title>
6 <script type="text/javascript">
7 var xPos = 0;
8 var objBall;
9 var startTime;
11 function mzDhtmlStart()
13 startTime = Date.now();
14 moveBall();
17 function moveBall()
19 objBall = document.getElementById("ball");
20 objBall.style.left = xPos + 'px';
21 objBall.style.top = xPos + 'px';
22 xPos++;
23 if (xPos<=150)
24 setTimeout("moveBall()", 0);
25 else {
26 var dur = Date.now() - startTime;
27 tpRecordTime(dur);
30 </script>
31 </head><body onload="mzDhtmlStart()">
32 <img src="images/ball.gif" width="70" height="70" id="ball" style="position: absolute; left: 0px; top: 0px;">
33 </body></html>