Firefox ist bei diesem Test ca. 15 mal langsamer als der IE.
[CODE]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Colors Test</title>
<style type="text/css">
body {background-color:#a0a3a5;font:13px verdana,arial;margin:0;overflow:hidden}
div {float:left;width:10px;height:10px;font:3px verdana,arial}
.t1 {width:100%;color:blue;font:60px arial;text-align:center;padding-top:300px}
</style>
<script type="text/javascript">
function start()
{
setTimeout("generate()",50);
}
function generate()
{
while(document.body.firstChild)
document.body.removeChild(document.body.firstChild);
var MainDiv = document.createElement("div");
cw = Math.round(screen.availWidth/10);
w = cw*10;
MainDiv.style.width = w+"px";
ch = Math.round(screen.availHeight/10)-10;
n = cw*ch;
document.body.appendChild(MainDiv);
for(i=0;i<n;i++)
{
var myDiv = document.createElement("div");
var r = Math.round(Math.random()*255);
var g = Math.round(Math.random()*255);
var b = Math.round(Math.random()*255);
c = "rgb("+r+","+g+","+b+")";
myDiv.style.backgroundColor = c;
MainDiv.appendChild(myDiv);
}
}
onload = start;
</script>
</head>
<body>
<div class="t1">PLEASE WAIT...</div>
</body>
</html>
[/CODE]