blob: f98bbd44a339a243cca901a8fa554a1d74117aae (
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
31
32
33
34
35
|
<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var table = document.createElement("table");
var tbody = document.createElement("tbody");
var td = document.createElement("td");
tbody.appendChild(td);
table.appendChild(tbody);
document.body.appendChild(table);
td.style.marginTop = "126102421%";
td.style.marginLeft = "126102421%";
td.style.cssFloat = "right";
td.style.pageBreakInside = "avoid";
document.documentElement.offsetHeight;
tbody.style.overflowX = "hidden";
document.documentElement.offsetHeight;
document.body.style.columns = "auto";
tbody.style.color = "red";
document.documentElement.offsetHeight;
}
</script>
</head>
<body onload="boom();"></body>
</html>
|