blob: 181086c54b00beccdfc2c72448d33ce8819badc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
function boom()
{
var s = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
var b = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "box");
s.appendChild(b);
document.getElementById("a").appendChild(s);
}
</script>
</head>
<body onload="boom();" style="column-width: 1px;"><span id="a"><box xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/></span><div>Hello</div></body>
</html>
|