blob: 08764ff70769889e65d591ee1cf44f29c60d5375 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<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>
|