1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/xul/tree/crashtests/391178-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 +<head> 1.6 +<script> 1.7 + 1.8 +var ccc; 1.9 + 1.10 +function boom() 1.11 +{ 1.12 + var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; 1.13 + 1.14 + var hbox = document.createElementNS(XUL_NS, 'hbox'); 1.15 + var tree = document.createElementNS(XUL_NS, 'tree'); 1.16 + var treecol = document.createElementNS(XUL_NS, 'treecol'); 1.17 + 1.18 + ccc = document.getElementById("ccc"); 1.19 + 1.20 + ccc.style.position = "fixed"; 1.21 + 1.22 + hbox.appendChild(treecol); 1.23 + tree.appendChild(hbox); 1.24 + ccc.appendChild(tree); 1.25 + 1.26 + setTimeout(boom2, 200); 1.27 +} 1.28 + 1.29 +function boom2() 1.30 +{ 1.31 + ccc.style.position = ""; 1.32 + document.documentElement.removeAttribute("class"); 1.33 +} 1.34 + 1.35 +</script> 1.36 +</head> 1.37 + 1.38 +<body onload="boom();"> 1.39 + 1.40 +<div id="ccc"> 1.41 +</div> 1.42 + 1.43 +</body> 1.44 +</html>