tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_dialog.xhtml (1555B)


      1 <?xml version="1.0"?>
      2 <?csp default-src chrome:; ?>
      3 
      4 <!-- This Source Code Form is subject to the terms of the Mozilla Public
      5   - License, v. 2.0. If a copy of the MPL was not distributed with this
      6   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
      7 
      8 <!-- Test file for a XUL dialog.  -->
      9 
     10 <!DOCTYPE testdialog [ <!ENTITY % dialogDTD SYSTEM "chrome://marionette-chrome/content/test_dialog.dtd">
     11 %dialogDTD; ]>
     12 
     13 <window
     14  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     15  xmlns:html="http://www.w3.org/1999/xhtml"
     16  title="&testDialog.title;"
     17 >
     18  <html:link rel="stylesheet" href="chrome://global/skin/global.css" />
     19  <html:link rel="stylesheet" href="chrome://marionette-chrome/content/style.css" />
     20 
     21  <dialog id="testDialog" buttons="accept,cancel">
     22    <vbox flex="1" class="dialog-box">
     23      <label>&settings.label;</label>
     24      <separator class="thin" />
     25      <richlistbox id="test-list" flex="1">
     26        <richlistitem id="item-choose" orient="horizontal" selected="true">
     27          <label id="choose-label" value="First Entry" flex="1" />
     28          <button id="choose-button" label="Choose..." />
     29        </richlistitem>
     30      </richlistbox>
     31      <separator class="thin" />
     32      <checkbox id="check-box" label="Test Mode 2" />
     33      <hbox align="center">
     34        <label id="text-box-label" control="text-box">Name:</label>
     35        <input
     36          xmlns="http://www.w3.org/1999/xhtml"
     37          id="text-box"
     38          class="input-moz-box-flex"
     39        />
     40      </hbox>
     41    </vbox>
     42  </dialog>
     43 </window>