Bug 1769952 - Fix running raptor on a Win10-64 VM r=sparky
[gecko.git] / dom / xul / test / 398289-resource.xhtml
blob23286fa461bc7cd18dbbd5e7f45a30dc4362b086
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">
9 <script>
10 document.addEventListener("dialogaccept", function() { alert('OK') });
11 document.addEventListener("dialogcancel", function() { alert('Cancel') });
12 </script>
14 <tabbox id="test" flex="1" persist="selectedIndex">
16 <tabs>
17 <tab label="One"/>
18 <tab label="Two"/>
19 </tabs>
21 <tabpanels flex="1">
23 <vbox flex="1">
24 <description>Text for tab ONE</description>
25 <description class="text-link"
26 onclick="window.open('https://bugzilla.mozilla.org/show_bug.cgi?id=398289');">(test case for bug 398289)</description>
27 <tree>
28 <treecols>
29 <treecol label="Header" flex="1"/>
30 </treecols>
31 </tree>
32 </vbox>
34 <vbox flex="1">
35 <description>Text for tab TWO</description>
36 <description>(When the document is reloaded, this content gets replaced by the one from the first tab.)</description>
37 </vbox>
39 </tabpanels>
41 </tabbox>
43 <box height="1000"/> <!-- Push dialog buttons out of sight so that the animated default button isn't part of the snapshot -->
45 </dialog>
46 </window>