389636-1.html (650B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <head> 4 <script> 5 function finishTest() 6 { 7 document.documentElement.className = ""; 8 } 9 10 function boom() 11 { 12 var HTML_NS = "http://www.w3.org/1999/xhtml"; 13 var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; 14 15 var clonedRichListBox = document.createElementNS(XUL_NS, 'richlistbox').cloneNode(false); 16 var div = document.createElementNS(HTML_NS, "div"); 17 18 div.appendChild(clonedRichListBox); 19 20 document.body.appendChild(clonedRichListBox); 21 22 setTimeout(finishTest, 100); 23 } 24 25 </script> 26 27 </head> 28 <body onload="setTimeout(boom, 100);" style="visibility: hidden"> 29 30 </body> 31 </html>