layout/xul/base/src/crashtests/514300-1.xul
author Boris Zbarsky <bzbarsky@mit.edu>
Wed, 13 Jan 2010 11:30:10 -0500
changeset 37147 7963a18d337355815d4b6e2c1e8a40728621da3f
permissions -rw-r--r--
Bug 514300 part 1. Use the owner document to look for the binding manager. r=sicking

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="document.getElementById('listbox').removeChild(document.getElementById('span'));">

<bindings xmlns="http://www.mozilla.org/xbl">
  <binding id="foo">
    <content><listitem xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"><children xmlns="http://www.mozilla.org/xbl"/></listitem></content>
  </binding>
</bindings>

<listbox id="listbox" style="-moz-binding: url(#foo)"><span xmlns="http://www.w3.org/1999/xhtml" id="span"/></listbox>

</window>