summaryrefslogtreecommitdiffstats
path: root/layout/xul/tree/crashtests/309732-1.xul
blob: df955e14e596cfe5dc01dd885550990c5c36690d (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
<?xml version="1.0"?>

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

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


  <script>
  function boom()
  {
    document.documentElement.appendChild(document.getElementById("TC")); 
    document.documentElement.appendChild(document.getElementById("TI"));

    document.documentElement.removeAttribute("class");
  }
  </script>

<tree flex="1">
    <treecols>
      <treecol label="Name"/>
    </treecols>
    <treechildren id="TC">
      <treeitem id="TI">
        <treerow>
          <treecell label="First treecell"/>
        </treerow>
      </treeitem>
    </treechildren>
  </tree>
</window>