1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/xul/tree/crashtests/366583-1.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,43 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 1.7 + 1.8 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.9 + onload="boom1();" 1.10 + class="reftest-wait"> 1.11 + 1.12 +<script> 1.13 + 1.14 +var tree; 1.15 + 1.16 +function boom1() 1.17 +{ 1.18 + tree = document.getElementById("tree"); 1.19 + tree.style.position = "fixed"; 1.20 + setTimeout(boom2, 30); 1.21 +} 1.22 + 1.23 +function boom2() 1.24 +{ 1.25 + tree.style.overflow = "visible"; 1.26 + document.documentElement.removeAttribute("class"); 1.27 +} 1.28 +</script> 1.29 + 1.30 +<tree rows="6" id="tree" style="display: list-item; overflow: auto; visibility: collapse;"> 1.31 + <treecols> 1.32 + <treecol id="firstname" label="First Name" primary="true" flex="3"/> 1.33 + <treecol id="lastname" label="Last Name" flex="7"/> 1.34 + </treecols> 1.35 + 1.36 + <treechildren> 1.37 + <treeitem container="true" open="true"> 1.38 + <treerow> 1.39 + <treecell label="Foo"/> 1.40 + </treerow> 1.41 + </treeitem> 1.42 + </treechildren> 1.43 +</tree> 1.44 + 1.45 + 1.46 +</window>