layout/xul/tree/crashtests/366583-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

michael@0 1 <?xml version="1.0"?>
michael@0 2
michael@0 3 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
michael@0 4
michael@0 5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 6 onload="boom1();"
michael@0 7 class="reftest-wait">
michael@0 8
michael@0 9 <script>
michael@0 10
michael@0 11 var tree;
michael@0 12
michael@0 13 function boom1()
michael@0 14 {
michael@0 15 tree = document.getElementById("tree");
michael@0 16 tree.style.position = "fixed";
michael@0 17 setTimeout(boom2, 30);
michael@0 18 }
michael@0 19
michael@0 20 function boom2()
michael@0 21 {
michael@0 22 tree.style.overflow = "visible";
michael@0 23 document.documentElement.removeAttribute("class");
michael@0 24 }
michael@0 25 </script>
michael@0 26
michael@0 27 <tree rows="6" id="tree" style="display: list-item; overflow: auto; visibility: collapse;">
michael@0 28 <treecols>
michael@0 29 <treecol id="firstname" label="First Name" primary="true" flex="3"/>
michael@0 30 <treecol id="lastname" label="Last Name" flex="7"/>
michael@0 31 </treecols>
michael@0 32
michael@0 33 <treechildren>
michael@0 34 <treeitem container="true" open="true">
michael@0 35 <treerow>
michael@0 36 <treecell label="Foo"/>
michael@0 37 </treerow>
michael@0 38 </treeitem>
michael@0 39 </treechildren>
michael@0 40 </tree>
michael@0 41
michael@0 42
michael@0 43 </window>

mercurial