dom/xbl/crashtests/415301-1.xul

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:39d72dd37832
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin/global.css"?>
3
4 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
5 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
6 onload="boom();">
7
8
9 <bindings xmlns="http://www.mozilla.org/xbl">
10
11 <binding id="chil"><content><children/></content></binding>
12
13 <binding id="ichil"><content>
14 <xul:hbox style="-moz-binding: url(#chil)"><children/></xul:hbox>
15 </content></binding>
16
17 </bindings>
18
19
20 <script type="text/javascript">
21
22 function boom()
23 {
24 document.getElementById("inner").removeChild(document.getElementById("lbb"));
25 document.getElementById("outer").style.MozBinding = "";
26 }
27
28 </script>
29
30
31 <hbox id="outer" style="-moz-binding: url(#chil)"><hbox id="inner" style="-moz-binding: url(#ichil)"><listboxbody id="lbb" /></hbox></hbox>
32
33
34 </window>

mercurial