366583-1.xul 927 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  4. onload="boom1();"
  5. class="reftest-wait">
  6. <script>
  7. var tree;
  8. function boom1()
  9. {
  10. tree = document.getElementById("tree");
  11. tree.style.position = "fixed";
  12. setTimeout(boom2, 30);
  13. }
  14. function boom2()
  15. {
  16. tree.style.overflow = "visible";
  17. document.documentElement.removeAttribute("class");
  18. }
  19. </script>
  20. <tree rows="6" id="tree" style="display: list-item; overflow: auto; visibility: collapse;">
  21. <treecols>
  22. <treecol id="firstname" label="First Name" primary="true" flex="3"/>
  23. <treecol id="lastname" label="Last Name" flex="7"/>
  24. </treecols>
  25. <treechildren>
  26. <treeitem container="true" open="true">
  27. <treerow>
  28. <treecell label="Foo"/>
  29. </treerow>
  30. </treeitem>
  31. </treechildren>
  32. </tree>
  33. </window>