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

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:3f0037cd9fae
1 <?xml version="1.0"?>
2
3 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
4
5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
6 onload="boom1();"
7 class="reftest-wait">
8
9 <script>
10
11 var tree;
12
13 function boom1()
14 {
15 tree = document.getElementById("tree");
16 tree.style.position = "fixed";
17 setTimeout(boom2, 30);
18 }
19
20 function boom2()
21 {
22 tree.style.overflow = "visible";
23 document.documentElement.removeAttribute("class");
24 }
25 </script>
26
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>
32
33 <treechildren>
34 <treeitem container="true" open="true">
35 <treerow>
36 <treecell label="Foo"/>
37 </treerow>
38 </treeitem>
39 </treechildren>
40 </tree>
41
42
43 </window>

mercurial