391178-1.xhtml 734 B

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