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

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

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

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

     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