summaryrefslogtreecommitdiffstats
path: root/layout/xul/tree/crashtests/309732-1.xhtml
blob: a7e40b75b9eb2273b207c68b2404626cfe69359e (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/global.css" 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>