Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <xul xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
3 <script type="text/javascript">
5 function boom()
6 {
7 var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
9 var oldListbox = document.getElementById("oldListbox");
10 var listitem = document.getElementById("listitem");
11 var newListbox = document.createElementNS(XUL_NS, "listbox");
12 var newHbox = document.createElementNS(XUL_NS, "hbox");
14 oldListbox.appendChild(newListbox);
15 listitem.appendChild(newHbox);
17 newListbox.style.display = "inline";
18 oldListbox.style.display = "block";
19 newHbox.style.display = "inline";
20 }
22 </script>
24 <listbox id="oldListbox"><listitem id="listitem" /></listbox>
26 </xul>