391178-1.xhtml (734B)
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 2 <head> 3 <script> 4 5 var ccc; 6 7 function boom() 8 { 9 var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; 10 11 var hbox = document.createElementNS(XUL_NS, 'hbox'); 12 var tree = document.createElementNS(XUL_NS, 'tree'); 13 var treecol = document.createElementNS(XUL_NS, 'treecol'); 14 15 ccc = document.getElementById("ccc"); 16 17 ccc.style.position = "fixed"; 18 19 hbox.appendChild(treecol); 20 tree.appendChild(hbox); 21 ccc.appendChild(tree); 22 23 setTimeout(boom2, 200); 24 } 25 26 function boom2() 27 { 28 ccc.style.position = ""; 29 document.documentElement.removeAttribute("class"); 30 } 31 32 </script> 33 </head> 34 35 <body onload="boom();"> 36 37 <div id="ccc"> 38 </div> 39 40 </body> 41 </html>