RetroZilla/webshell/tests/viewer/samples/toolbarTest1.xul
2015-10-20 23:03:22 -04:00

52 lines
1.5 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://navigator/skin/navigator.css" type="text/css"?>
<!DOCTYPE window>
<window orient="vertical" xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onConstruction="Startup()">
<html:div>
<html:h1>Toolbar Test 1</html:h1>
<html:h3>
You should see a two toolbars with buttons that don't do anything. This test is useful for checking layout
and look/feel of rollover and clicks. Note that the last toolbar is empty, and should be of
normal size because of min-height.
</html:h3>
<html:hr/>
</html:div>
<toolbox style="min-width: 10px">
<toolbar>
<button id="back-button" align="top" value="Back"/>
<button id="forward-button" align="top" value="Forward"/>
<button id="reload-button" align="top" value="Reload"/>
<button id="stop-button" align="top" value="Stop"/>
<button id="home-button" align="top" value="Home"/>
<button id="print-button" align="top" value="Print"/>
<vbox flex="100%">
<spacer flex="100%"/>
<html:input id="urlbar" type="text"/>
<spacer flex="100%"/>
</vbox>
<button src="resource:/res/throbber/anims00.gif" align="right"/>
</toolbar>
<toolbar>
<button align="left" id="translate-button" value="Mozilla" />
<button align="left" id="translate-button" value="ABC News"/>
<spacer flex="100%"/>
</toolbar>
<toolbar>
</toolbar>
</toolbox>
</window>