Backed out 2 changesets (bug 1908320) for causing wr failures on align-items-baseline...
[gecko.git] / dom / xul / test / 398289-resource.xhtml
blob6702027ef1eaf75e702bd0d67d89ef75e8e9c87b
1 <?xml version="1.0"?>
3 <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6 <dialog buttonlabelaccept="OK"
7 buttonlabelcancel="Cancel">
8 <style xmlns="http://www.w3.org/1999/xhtml">
9 .tab-middle { outline: none !important }
10 </style>
12 <script>
13 document.addEventListener("dialogaccept", function() { alert('OK') });
14 document.addEventListener("dialogcancel", function() { alert('Cancel') });
15 </script>
17 <tabbox id="test" flex="1" persist="selectedIndex">
19 <tabs>
20 <tab label="One"/>
21 <tab label="Two"/>
22 </tabs>
24 <tabpanels flex="1">
26 <vbox flex="1">
27 <description>Text for tab ONE</description>
28 <description class="text-link"
29 onclick="window.open('https://bugzilla.mozilla.org/show_bug.cgi?id=398289');">(test case for bug 398289)</description>
30 <tree>
31 <treecols>
32 <treecol label="Header" flex="1"/>
33 </treecols>
34 </tree>
35 </vbox>
37 <vbox flex="1">
38 <description>Text for tab TWO</description>
39 <description>(When the document is reloaded, this content gets replaced by the one from the first tab.)</description>
40 </vbox>
42 </tabpanels>
44 </tabbox>
46 <box height="1000"/> <!-- Push dialog buttons out of sight so that the animated default button isn't part of the snapshot -->
48 </dialog>
49 </window>