content/xbl/crashtests/415301-1.xul
author Drew Willcoxon <adw@mozilla.com>
Wed, 05 Jun 2013 17:07:55 -0700
changeset 134173 3f4ad11d56da4b29ee44fe238ecce312204cdc85
parent 37148 710cca46f64d71c4c9d8263e7889f32438548531
permissions -rw-r--r--
Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 4: update reftests). r=ehsan

<?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>