blob: 8bc5373c2824f0ef2cb62056f56f787f2c7d933f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!DOCTYPE html>
<head>
<script>
function boom()
{
var b = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
b.style.position = "absolute";
document.getElementById("a").appendChild(b);
}
</script>
</head>
<body onload="boom();"><div id="a" style="display: -moz-inline-box; position: relative">x</div></body>
</html>
|