mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
143 lines
6.3 KiB
XML
143 lines
6.3 KiB
XML
<?xml version="1.0"?>
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
-
|
|
- The contents of this file are subject to the Mozilla Public License Version
|
|
- 1.1 (the "License"); you may not use this file except in compliance with
|
|
- the License. You may obtain a copy of the License at
|
|
- http://www.mozilla.org/MPL/
|
|
-
|
|
- Software distributed under the License is distributed on an "AS IS" basis,
|
|
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
- for the specific language governing rights and limitations under the
|
|
- License.
|
|
-
|
|
- The Original Code is mozilla.org code for the DOM Inspector.
|
|
-
|
|
- The Initial Developer of the Original Code is
|
|
- Shawn Wilsher <me@shawnwilsher.com>
|
|
-
|
|
- Portions created by the Initial Developer are Copyright (C) 2006
|
|
- the Initial Developer. All Rights Reserved.
|
|
-
|
|
- Contributor(s):
|
|
- Dave Townsend <dave.townsend@blueprintit.co.uk>
|
|
-
|
|
- Alternatively, the contents of this file may be used under the terms of
|
|
- either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
- in which case the provisions of the GPL or the LGPL are applicable instead
|
|
- of those above. If you wish to allow use of your version of this file only
|
|
- under the terms of either the GPL or the LGPL, and not to allow others to
|
|
- use your version of this file under the terms of the MPL, indicate your
|
|
- decision by deleting the provisions above and replace them with the notice
|
|
- and other provisions required by the GPL or the LGPL. If you do not delete
|
|
- the provisions above, a recipient may use your version of this file under
|
|
- the terms of any one of the MPL, the GPL or the LGPL.
|
|
-
|
|
- ***** END LICENSE BLOCK *****
|
|
-->
|
|
<!DOCTYPE dialog SYSTEM "chrome://inspector/locale/viewers/dom.dtd">
|
|
<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
|
|
|
|
<dialog id="InsertNode"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
title="&insertNode.title;"
|
|
buttons="accept,cancel"
|
|
ondialogaccept="dialog.accept();">
|
|
<script type="application/javascript"
|
|
src="chrome://inspector/content/viewers/dom/insertDialog.js"/>
|
|
<grid>
|
|
<columns>
|
|
<column/>
|
|
<column flex="1"/>
|
|
</columns>
|
|
<rows>
|
|
<row align="center">
|
|
<label value="&nodeType.label;" control="ml_nodeType"/>
|
|
<menulist id="ml_nodeType" oncommand="dialog.updateType();">
|
|
<menupopup id="mp_nodetypes">
|
|
<menuitem label="&nodeType.element.label;"
|
|
id="mi_Element"
|
|
value="element"/>
|
|
<menuitem label="&nodeType.text.label;"
|
|
id="mi_Text"
|
|
value="text"/>
|
|
</menupopup>
|
|
</menulist>
|
|
</row>
|
|
<rows id="row_element">
|
|
<row align="center">
|
|
<label value="&namespaceURI.label;" control="ml_namespace"/>
|
|
<menulist id="ml_namespace" oncommand="dialog.toggleNamespace();">
|
|
<menupopup id="mp_namespaces">
|
|
<!-- This must be first, and must have a the value attribute set to
|
|
"" in order for it to work properly -->
|
|
<menuitem label="&namespaceTitle.null.label;"
|
|
id="mi_NullNS"
|
|
value=""/>
|
|
<menuitem label="&namespaceTitle.XMLNS.label;"
|
|
id="mi_XMLNSNS"
|
|
value="http://www.w3.org/2000/xmlns/"/>
|
|
<menuitem label="&namespaceTitle.XML.label;"
|
|
id="mi_XMLNS"
|
|
value="http://www.w3.org/XML/1998/namespace"/>
|
|
<menuitem label="&namespaceTitle.XHTML.label;"
|
|
id="mi_XHTMLNS"
|
|
value="http://www.w3.org/1999/xhtml"/>
|
|
<menuitem label="&namespaceTitle.XLink.label;"
|
|
id="mi_XLinkNS"
|
|
value="http://www.w3.org/1999/xlink"/>
|
|
<menuitem label="&namespaceTitle.XSLT.label;"
|
|
id="mi_XSLTNS"
|
|
value="http://www.w3.org/1999/XSL/Transform"/>
|
|
<menuitem label="&namespaceTitle.XBL.label;"
|
|
id="mi_XBLNS"
|
|
value="http://www.mozilla.org/xbl"/>
|
|
<menuitem label="&namespaceTitle.MathML.label;"
|
|
id="mi_MathMLNS"
|
|
value="http://www.w3.org/1998/Math/MathML"/>
|
|
<menuitem label="&namespaceTitle.RDF.label;"
|
|
id="mi_RDFNS"
|
|
value="http://www.w3.org/1999/02/22-rdf-syntax-ns"/>
|
|
<menuitem label="&namespaceTitle.XUL.label;"
|
|
id="mi_XULNS"
|
|
value="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/>
|
|
<menuitem label="&namespaceTitle.SVG.label;"
|
|
id="mi_SVGNS"
|
|
value="http://www.w3.org/2000/svg"/>
|
|
<menuitem label="&namespaceTitle.XMLEvents.label;"
|
|
id="mi_XMLEventsNS"
|
|
value="http://www.w3.org/2001/xml-events"/>
|
|
<menuitem label="&namespaceTitle.WAIRoles.label;"
|
|
id="mi_WAIRolesNS"
|
|
value="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy"/>
|
|
<menuitem label="&namespaceTitle.WAIProperties.label;"
|
|
id="mi_WAIPropertiesNS"
|
|
value="http://www.w3.org/2005/07/aaa"/>
|
|
<!-- Value set onload -->
|
|
<menuitem label="&namespaceTitle.default.label;"
|
|
id="mi_namespace"/>
|
|
<!-- Value set onload -->
|
|
<menuitem label="&namespaceTitle.custom.label;"
|
|
id="mi_custom"/>
|
|
</menupopup>
|
|
</menulist>
|
|
</row>
|
|
<row>
|
|
<spacer/>
|
|
<textbox id="tx_namespace"/>
|
|
</row>
|
|
<row>
|
|
<label value="&tagName.label;" control="tx_tagName"/>
|
|
<textbox id="tx_tagName" oninput="dialog.toggleAccept()"/>
|
|
</row>
|
|
</rows>
|
|
<row id="row_text" flex="1">
|
|
<label value="&nodeValue.label;" control="tx_nodeValue"/>
|
|
<textbox id="tx_nodeValue" multiline="true"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</dialog>
|