layout/xul/tree/crashtests/366583-1.xul

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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"
     6         onload="boom1();"
     7         class="reftest-wait">
     9 <script>
    11 var tree;
    13 function boom1()
    14 {
    15   tree = document.getElementById("tree");
    16   tree.style.position = "fixed";
    17   setTimeout(boom2, 30);
    18 }
    20 function boom2()
    21 {
    22   tree.style.overflow = "visible";
    23   document.documentElement.removeAttribute("class");
    24 }
    25 </script>
    27 <tree rows="6" id="tree" style="display: list-item; overflow: auto; visibility: collapse;">
    28   <treecols>
    29       <treecol id="firstname" label="First Name" primary="true" flex="3"/>
    30       <treecol id="lastname" label="Last Name" flex="7"/>
    31   </treecols>
    33   <treechildren>
    34     <treeitem container="true" open="true">
    35       <treerow>
    36         <treecell label="Foo"/>
    37       </treerow>
    38     </treeitem>
    39   </treechildren>
    40 </tree>
    43 </window>

mercurial