summaryrefslogtreecommitdiffstats
path: root/layout/xul/tree/crashtests/366583-1.xhtml
blob: fd12709905da8911553dc6a6f3eabc6b23d2fba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0"?>

<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        onload="boom1();"
        class="reftest-wait">

<script>
        
var tree;

function boom1()
{
  tree = document.getElementById("tree");
  tree.style.position = "fixed";
  setTimeout(boom2, 30);
}

function boom2()
{
  tree.style.overflow = "visible";
  document.documentElement.removeAttribute("class");
}
</script>

<tree rows="6" id="tree" style="display: list-item; overflow: auto; visibility: collapse;">
  <treecols>
      <treecol id="firstname" label="First Name" primary="true" style="-moz-box-flex: 3"/>
      <treecol id="lastname" label="Last Name" style="-moz-box-flex: 7"/>
  </treecols>

  <treechildren>
    <treeitem container="true" open="true">
      <treerow>
        <treecell label="Foo"/>
      </treerow>
    </treeitem>
  </treechildren>
</tree>


</window>