зеркало из https://github.com/mozilla/gecko-dev.git
31 строка
556 B
HTML
31 строка
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>
|