blob: 9c8e2640c1eb34dd4f9375a879c95e9464db838c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
function boom()
{
var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
var listbox = document.createElementNS(XUL_NS, 'listbox');
document.body.appendChild(listbox);
listbox.appendChild(document.createElementNS(XUL_NS, 'listitem'));
listbox.appendChild(document.createElementNS(XUL_NS, 'listboxbody'));
listbox.appendChild(document.createElementNS(XUL_NS, 'hbox'));
}
</script>
</head>
<body onload="boom();"></body>
</html>
|