Backed out 2 changesets (bug 1908320) for causing wr failures on align-items-baseline...
[gecko.git] / browser / components / preferences / tests / subdialog2.xhtml
blob9ae04d5675bde7b32e8dd7861ff46ecdfd7626c7
1 <?xml version="1.0"?>
3 <!-- Any copyright is dedicated to the Public Domain.
4 - http://creativecommons.org/publicdomain/zero/1.0/ -->
6 <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
8 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
9 xmlns:html="http://www.w3.org/1999/xhtml"
10 title="Sample sub-dialog #2" style="width: 32em; height: 5em;"
11 onload="document.getElementById('textbox').focus();">
12 <dialog id="subDialog">
13 <script>
14 document.addEventListener("dialogaccept", acceptSubdialog);
15 function acceptSubdialog() {
16 window.arguments[0].acceptCount++;
18 </script>
20 <description id="desc">A sample sub-dialog for testing</description>
22 <html:input id="textbox" value="Default text" />
24 <separator class="thin"/>
26 <button oncommand="window.close();" label="Close" />
28 </dialog>
29 </window>