398289-resource.xul 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  4. buttonlabelaccept="OK"
  5. ondialogaccept="alert('OK');"
  6. buttonlabelcancel="Cancel"
  7. ondialogcancel="alert('Cancel');">
  8. <tabbox id="test" flex="1" persist="selectedIndex">
  9. <tabs>
  10. <tab label="One"/>
  11. <tab label="Two"/>
  12. </tabs>
  13. <tabpanels flex="1">
  14. <vbox flex="1">
  15. <description>Text for tab ONE</description>
  16. <description class="text-link"
  17. onclick="window.open('https://bugzilla.mozilla.org/show_bug.cgi?id=398289');">(test case for bug 398289)</description>
  18. <tree>
  19. <treecols>
  20. <treecol label="Header" flex="1"/>
  21. </treecols>
  22. </tree>
  23. </vbox>
  24. <vbox flex="1">
  25. <description>Text for tab TWO</description>
  26. <description>(When the document is reloaded, this content gets replaced by the one from the first tab.)</description>
  27. </vbox>
  28. </tabpanels>
  29. </tabbox>
  30. <box height="1000"/> <!-- Push dialog buttons out of sight so that the animated default button isn't part of the snapshot -->
  31. </dialog>