mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
c61f1603f3
Fennec uses a different set of DTD and properties files. As such the current entity and property names do not work. To fix the tests a DTD and properties file gets added for the test_dialog.xul example dialog, which means that we have identical resources for every supported application. MozReview-Commit-ID: LXDeADHlxja --HG-- extra : rebase_source : 47a4023af8ebaef28ca58868529df5e78ea7b309
37 lines
1.2 KiB
XML
37 lines
1.2 KiB
XML
<?xml version="1.0"?>
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<!DOCTYPE testdialog [
|
|
<!ENTITY % dialogDTD SYSTEM "chrome://marionette/content/test_dialog.dtd" >
|
|
%dialogDTD;
|
|
]>
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
|
|
|
|
<dialog id="testDialog"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
title="&testDialog.title;"
|
|
buttons="accept,cancel">
|
|
|
|
<vbox flex="1" style="min-width: 300px; min-height: 500px;">
|
|
<label>&settings.label;</label>
|
|
<separator class="thin"/>
|
|
<richlistbox id="test-list" flex="1">
|
|
<richlistitem id="item-choose" orient="horizontal" selected="true">
|
|
<label id="choose-label" value="First Entry" flex="1"/>
|
|
<button id="choose-button" oncommand="" label="Choose..."/>
|
|
</richlistitem>
|
|
</richlistbox>
|
|
<separator class="thin"/>
|
|
<checkbox id="check-box" label="Test Mode 2" />
|
|
<hbox align="center">
|
|
<label id="text-box-label" control="text-box">Name:</label>
|
|
<textbox id="text-box" flex="1" />
|
|
</hbox>
|
|
</vbox>
|
|
|
|
</dialog>
|