mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 21:00:42 +02:00
Move functionality out of XULDocument::AddElementToDocumentPost: 1) Convert all XUL link elements into HTML link elements which have code to handle when they are added to the DOM. 2) Move handling of the end of a linkset element into nsXULElement's DoneAddingChildren callback. 3) Move document direction reset to where the root element is created. Differential Revision: https://phabricator.services.mozilla.com/D19739 --HG-- extra : moz-landing-system : lando
52 lines
2 KiB
XML
52 lines
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/. -->
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/preferences/containers.css" type="text/css"?>
|
|
|
|
<window id="ContainersDialog"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
data-l10n-attrs="title, style"
|
|
onload="gContainersManager.onLoad();"
|
|
onunload="gContainersManager.uninit();"
|
|
persist="screenX screenY width height"
|
|
onkeypress="gContainersManager.onWindowKeyPress(event);">
|
|
|
|
<linkset>
|
|
<html:link rel="localization" href="browser/preferences/containers.ftl"/>
|
|
</linkset>
|
|
|
|
<script src="chrome://browser/content/preferences/containers.js"/>
|
|
|
|
<keyset>
|
|
<key data-l10n-id="containers-window-close" modifiers="accel" oncommand="window.close();"/>
|
|
</keyset>
|
|
|
|
<vbox class="contentPane" hidden="true" id="containers-content">
|
|
<hbox align="start">
|
|
<label id="nameLabel" control="name"
|
|
data-l10n-id="containers-name-label"
|
|
data-l10n-attrs="style"/>
|
|
<textbox id="name" data-l10n-id="containers-name-text" flex="1" oninput="gContainersManager.checkForm();" />
|
|
</hbox>
|
|
<hbox align="center" id="iconWrapper">
|
|
<label id="iconLabel" control="icon"
|
|
data-l10n-id="containers-icon-label"
|
|
data-l10n-attrs="style"/>
|
|
</hbox>
|
|
<hbox align="center" id="colorWrapper">
|
|
<label id="colorLabel" control="color"
|
|
data-l10n-id="containers-color-label"
|
|
data-l10n-attrs="style"/>
|
|
</hbox>
|
|
</vbox>
|
|
|
|
<hbox class="actionButtons" align="right" flex="1">
|
|
<button id="btnApplyChanges" disabled="true" oncommand="gContainersManager.onApplyChanges();" icon="save"
|
|
data-l10n-id="containers-button-done"/>
|
|
</hbox>
|
|
</window>
|