layout/xul/crashtests/432068-1.xul

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <?xml version="1.0"?>
     3 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
     7 <hbox style="display: none;">
     8   <bindings xmlns="http://www.mozilla.org/xbl">
     9     <binding id="x">
    10       <content><listitem xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/></content>
    11     </binding>
    12   </bindings>
    13 </hbox>
    15 <script type="text/javascript">
    17 function boom()
    18 {
    19   document.getElementById("b").style.MozBinding = "url('#x')";
    21   // Flush layout.
    22   document.documentElement.boxObject.height;
    24   document.getElementById("listbox").removeChild(document.getElementById("c"));
    25 }
    27 </script>
    29 <listbox id="listbox"><listitem/><listitem id="b"/><listitem id="c"/></listbox>
    31 </window>

mercurial