summaryrefslogtreecommitdiffstats
path: root/dom/xbl/crashtests/415301-1.xul
blob: cee274fcd3af42ad783ffab89a1380a8b9c03344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css"?>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        onload="boom();">


<bindings xmlns="http://www.mozilla.org/xbl">

<binding id="chil"><content><children/></content></binding>

<binding id="ichil"><content>
<xul:hbox style="-moz-binding: url(#chil)"><children/></xul:hbox>
</content></binding>

</bindings>


<script type="text/javascript">

function boom()
{
  document.getElementById("inner").removeChild(document.getElementById("lbb"));
  document.getElementById("outer").style.MozBinding = "";
}

</script>


<hbox id="outer" style="-moz-binding: url(#chil)"><hbox id="inner" style="-moz-binding: url(#ichil)"><listboxbody id="lbb" /></hbox></hbox>


</window>