mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
31 lines
556 B
HTML
31 lines
556 B
HTML
<html class="reftest-wait">
|
|
<head>
|
|
<script>
|
|
|
|
var i = 0;
|
|
|
|
function boom()
|
|
{
|
|
++i;
|
|
|
|
while (document.body.firstChild)
|
|
document.body.removeChild(document.body.firstChild);
|
|
|
|
var table = document.createElement("table");
|
|
document.body.appendChild(table);
|
|
document.documentElement.style.color = (i % 2) ? "red" : "magenta";
|
|
table.setAttribute("align", "right");
|
|
|
|
setTimeout(boom, 15);
|
|
}
|
|
|
|
function cont()
|
|
{
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="boom(); setTimeout(cont, 1000);"></body>
|
|
</html>
|