layout/base/crashtests/414175-1.xul

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:5b3f5516c388
1 <xul xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
2
3 <script type="text/javascript">
4
5 function boom()
6 {
7 var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
8
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");
13
14 oldListbox.appendChild(newListbox);
15 listitem.appendChild(newHbox);
16
17 newListbox.style.display = "inline";
18 oldListbox.style.display = "block";
19 newHbox.style.display = "inline";
20 }
21
22 </script>
23
24 <listbox id="oldListbox"><listitem id="listitem" /></listbox>
25
26 </xul>

mercurial