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