Bug 119317: move the "inherits" attribute to the xbl namespace for most clients.

r=hixie sr=hyatt
This commit is contained in:
sicking%bigfoot.com 2002-04-13 14:25:38 +00:00
parent 1fb8fc0116
commit f8c2ea5afa
45 changed files with 304 additions and 260 deletions

View File

@ -2,12 +2,13 @@
<bindings id="buttonBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="button" extends="xul:button">
<content>
<xul:spacer class="button-image-left" inherits="disabled"/>
<xul:vbox flex="1" class="button-image-middle" inherits="disabled" align="center">
<xul:spacer class="button-image-left" xbl:inherits="disabled"/>
<xul:vbox flex="1" class="button-image-middle" xbl:inherits="disabled" align="center">
<xul:spacer flex="1" class="button-top-spacer"/>
<xul:box flex="1">
<xul:description class="button-text-box" flex="1">
@ -16,23 +17,23 @@
</xul:box>
<xul:spacer flex="1" class="button-bottom-spacer"/>
</xul:vbox>
<xul:spacer class="button-image-right" inherits="disabled"/>
<xul:spacer class="button-image-right" xbl:inherits="disabled"/>
</content>
</binding>
<binding id="inputButton" extends="xul:button">
<content>
<xul:spacer class="button-image-left" inherits="disabled"/>
<xul:vbox flex="1" class="button-image-middle" inherits="disabled" align="center">
<xul:spacer class="button-image-left" xbl:inherits="disabled"/>
<xul:vbox flex="1" class="button-image-middle" xbl:inherits="disabled" align="center">
<xul:spacer flex="1" class="button-top-spacer"/>
<xul:box flex="1">
<xul:box class="button-text-box" flex="1">
<xul:text inherits="disabled,value,crop,accesskey"/>
<xul:text xbl:inherits="disabled,value,crop,accesskey"/>
</xul:box>
</xul:box>
<xul:spacer flex="1" class="button-bottom-spacer"/>
</xul:vbox>
<xul:spacer class="button-image-right" inherits="disabled"/>
<xul:spacer class="button-image-right" xbl:inherits="disabled"/>
</content>
</binding>

View File

@ -2,7 +2,8 @@
<bindings id="formWidgets"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="button" extends="xul:button">
<content>
@ -21,7 +22,7 @@
<xul:box class="button-box-1" flex="1">
<xul:box class="button-box-2" align="center" flex="1">
<xul:box class="button-box-text" flex="1" align="center">
<xul:label inherits="value" value="Submit Query"/>
<xul:label xbl:inherits="value" value="Submit Query"/>
</xul:box>
</xul:box>
</xul:box>

View File

@ -2,13 +2,14 @@
<bindings id="platformCheckboxBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="checkbox" extends="resource:///res/builtin/checkboxBindings.xml#checkbox">
<content>
<xul:box class="input-checkbox-checkmark-box-1" align="center" inherits="disabled">
<xul:box class="input-checkbox-checkmark-box-1" align="center" xbl:inherits="disabled">
<xul:box class="input-checkbox-checkmark-box-2" align="center" flex="1">
<xul:image class="input-checkbox-check" cbattr="image" inherits="checked,disabled"/>
<xul:image class="input-checkbox-check" cbattr="image" xbl:inherits="checked,disabled"/>
</xul:box>
</xul:box>
</content>

View File

@ -2,7 +2,8 @@
<bindings id="selectBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="select-size" extends="resource:///res/builtin/selectBindings.xml#select-size">
<content>
@ -23,7 +24,7 @@
<content includes="*">
<xul:treecell style="-moz-binding: none;">
<!--xul:treeindentation/-->
<xul:text inherits="value=xbl:text,value=label"/>
<xul:text xbl:inherits="value=xbl:text,value=label"/>
</xul:treecell>
</content>
</binding>
@ -34,7 +35,7 @@
<xul:treerow>
<xul:treecell style="-moz-binding: none;">
<!--xul:treeindentation/-->
<xul:label inherits="value=label" flex="1" crop="right"/>
<xul:label xbl:inherits="value=label" flex="1" crop="right"/>
</xul:treecell>
</xul:treerow>
<xul:treechildren>
@ -48,11 +49,11 @@
<xul:box class="select-menulist-internal-box" flex="1">
<xul:box class="select-menulist-display-box" flex="1" valign="middle" align="center">
<xul:label value="[[[[[MENULIST!]]]]]" class="select-menulist-text"
selectattr="text" inherits="accesskey" crop="right" flex="1"/>
selectattr="text" xbl:inherits="accesskey" crop="right" flex="1"/>
</xul:box>
<xul:box class="select-menulist-dropmarker-box-1" valign="middle" inherits="open">
<xul:box class="select-menulist-dropmarker-box-2" flex="1" align="center" valign="middle" inherits="open">
<xul:image class="select-menulist-dropmarker" inherits="disabled"/>
<xul:box class="select-menulist-dropmarker-box-1" valign="middle" xbl:inherits="open">
<xul:box class="select-menulist-dropmarker-box-2" flex="1" align="center" valign="middle" xbl:inherits="open">
<xul:image class="select-menulist-dropmarker" xbl:inherits="disabled"/>
</xul:box>
</xul:box>
</xul:box>
@ -66,14 +67,14 @@
<binding id="option" extends="resource:///res/builtin/selectBindings.xml#option">
<content includes="*">
<xul:label inherits="value=xbl:text,value=label" crop="right"/>
<xul:label xbl:inherits="value=xbl:text,value=label" crop="right"/>
</content>
</binding>
<binding id="optgroup" extends="xul:menu">
<!-- extends="resource:///res/builtin/selectBindings.xml#optgroup-size"> -->
<content includes="*">
<xul:label inherits="value=label" crop="right"/>
<xul:label xbl:inherits="value=label" crop="right"/>
<xul:menupopup style="overflow:auto; -moz-binding: none;" menugenerated="true">
<children/>
</xul:menupopup>

View File

@ -43,7 +43,8 @@
<bindings id="buttonBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="button" display="xul:button"
extends="chrome://global/content/bindings/button.xml#button-base">
@ -60,7 +61,7 @@
display="xul:button">
<content>
<xul:hbox class="box-inherit button-box" align="center" pack="center" flex="1">
<xul:description class="button-box-text" inherits="value" value=" "/>
<xul:description class="button-box-text" xbl:inherits="value" value=" "/>
</xul:hbox>
</content>
</binding>
@ -69,7 +70,7 @@
display="xul:button">
<content>
<xul:hbox class="box-inherit button-box" align="center" pack="center" flex="1">
<xul:description class="button-box-text" inherits="value" value="&submitForm;"/>
<xul:description class="button-box-text" xbl:inherits="value" value="&submitForm;"/>
</xul:hbox>
</content>
</binding>

View File

@ -38,7 +38,8 @@
<bindings id="selectBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="select-treebody">
<implementation>
@ -656,7 +657,7 @@
</implementation>
<content>
<xul:hbox class="select-label-box" flex="1">
<xul:label flex="1" value=" " inherits="value=label"/>
<xul:label flex="1" value=" " xbl:inherits="value=label"/>
</xul:hbox>
<xul:dropmarker class="select-dropmarker" type="menu"/>
<xul:menupopup class="select-menupopup">
@ -696,7 +697,7 @@
<binding id="select-option" extends="xul:menuitem">
<content>
<xul:label inherits="value=label" class="select-menuitem">
<xul:label xbl:inherits="value=label" class="select-menuitem">
<children/>
</xul:label>
</content>

View File

@ -43,7 +43,8 @@
<bindings id="buttonBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="button" display="xul:button"
extends="chrome://global/content/bindings/button.xml#button-base">
@ -60,7 +61,7 @@
display="xul:button">
<content>
<xul:hbox class="box-inherit button-box" align="center" pack="center" flex="1">
<xul:description class="button-box-text" inherits="value" value=" "/>
<xul:description class="button-box-text" xbl:inherits="value" value=" "/>
</xul:hbox>
</content>
</binding>
@ -69,7 +70,7 @@
display="xul:button">
<content>
<xul:hbox class="box-inherit button-box" align="center" pack="center" flex="1">
<xul:description class="button-box-text" inherits="value" value="&submitForm;"/>
<xul:description class="button-box-text" xbl:inherits="value" value="&submitForm;"/>
</xul:hbox>
</content>
</binding>

View File

@ -38,7 +38,8 @@
<bindings id="selectBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="select-treebody">
<implementation>
@ -656,7 +657,7 @@
</implementation>
<content>
<xul:hbox class="select-label-box" flex="1">
<xul:label flex="1" value=" " inherits="value=label"/>
<xul:label flex="1" value=" " xbl:inherits="value=label"/>
</xul:hbox>
<xul:dropmarker class="select-dropmarker" type="menu"/>
<xul:menupopup class="select-menupopup">
@ -696,7 +697,7 @@
<binding id="select-option" extends="xul:menuitem">
<content>
<xul:label inherits="value=label" class="select-menuitem">
<xul:label xbl:inherits="value=label" class="select-menuitem">
<children/>
</xul:label>
</content>

View File

@ -2,7 +2,8 @@
<bindings id="mailBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<!-- dummy widget to force this file to load -->
<binding id="dummy" extends="xul:box"/>
@ -15,9 +16,9 @@
<binding id="mail-toggle-headerfield">
<content>
<xul:hbox class="headerNameBox" align="start">
<xul:image class="expandHeaderViewButton" inherits="onclick=ontwistyclick"/>
<xul:image class="expandHeaderViewButton" xbl:inherits="onclick=ontwistyclick"/>
<xul:spacer flex="1"/>
<xul:label class="headerName" inherits="value=label"/>
<xul:label class="headerName" xbl:inherits="value=label"/>
</xul:hbox>
<xul:label class="headerValue" anonid="headerValue" flex="1">*</xul:label>
</content>
@ -33,7 +34,7 @@
<binding id="mail-headerfield">
<content>
<xul:hbox class="headerNameBox" align="start">
<xul:label class="headerName" inherits="value=label" flex="1"/>
<xul:label class="headerName" xbl:inherits="value=label" flex="1"/>
</xul:hbox>
<xul:label class="headerValue" anonid="headerValue" flex="1">*</xul:label>
</content>
@ -46,7 +47,7 @@
<binding id="mail-emailheaderfield">
<content>
<xul:hbox class="headerNameBox" align="start">
<xul:label class="headerName" inherits="value=label" flex="1"/>
<xul:label class="headerName" xbl:inherits="value=label" flex="1"/>
</xul:hbox>
<xul:mail-emailaddress anonid="emailAddressNode"/>
</content>
@ -63,7 +64,7 @@
<xul:hbox class="headerNameBox" align="start" pack="end">
<xul:image class="addresstwisty" anonid="toggleIcon"
onclick="toggleAddressView();"/>
<xul:label class="headerName" inherits="value=label"/>
<xul:label class="headerName" xbl:inherits="value=label"/>
</xul:hbox>
<xul:label class="headerValue" anonid="emailAddresses" flex="1"/>
@ -298,9 +299,9 @@
<binding id="mail-emailaddress">
<content popup="emailAddressPopup" context="emailAddressPopup">
<xul:label anonid="emailValue" class="emailDisplayButton plain"
inherits="value=label,crop"/>
xbl:inherits="value=label,crop"/>
<xul:image class="emailDisplayImage" anonid="emailImage"
context="emailAddressPopup" inherits="src=image"/>
context="emailAddressPopup" xbl:inherits="src=image"/>
</content>
<implementation>
@ -349,7 +350,7 @@
<binding id="search-menulist-abstract" name="searchMenulistAbstract" extends="xul:box">
<content>
<xul:menulist class="search-menulist" inherits="flex" oncommand="this.parentNode.onSelect(event)">
<xul:menulist class="search-menulist" xbl:inherits="flex" oncommand="this.parentNode.onSelect(event)">
<xul:menupopup class="search-menulist-popup"/>
</xul:menulist>
</content>

View File

@ -2,16 +2,16 @@
<bindings id="mailComposeBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="fromMenuitem"
extends="chrome://global/content/bindings/menu.xml#menuitem">
<content autostretch="never" excludes="template,observes,menupopup">
<xul:label class="composemenu-text" inherits="value=label,accesskey,crop"
crop="right"/>
<xul:label class="composemenu-text-2" inherits="value=accountname"
crop="right"/>
<xul:label class="composemenu-text" xbl:inherits="value=label,accesskey,crop"
crop="right"/>
<xul:label class="composemenu-text-2" xbl:inherits="value=accountname"
crop="right"/>
</content>
</binding>

View File

@ -2,12 +2,13 @@
<bindings id="sidebarBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="sbtab" extends="xul:button">
<content>
<xul:image class="sbtab-twisty" inherits="selected"/>
<xul:label class="sbtab-label" inherits="value=label" crop="right"/>
<xul:image class="sbtab-twisty" xbl:inherits="selected"/>
<xul:label class="sbtab-label" xbl:inherits="value=label" crop="right"/>
<xul:spacer flex="1"/>
<xul:image class="sbtab-texture"/>
</content>

View File

@ -2,16 +2,17 @@
<bindings id="globalBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="tab" extends="chrome://global/content/bindings/tabbox.xml#tab">
<content>
<xul:spacer class="tab-image-left" inherits="selected"/>
<xul:hbox flex="1" class="tab-image-middle" align="center" inherits="selected">
<xul:image class="tab-icon" inherits="src=image,validate"/>
<xul:label flex="1" inherits="value=label,crop,accesskey" crop="right" class="tab-text"/>
<xul:spacer class="tab-image-left" xbl:inherits="selected"/>
<xul:hbox flex="1" class="tab-image-middle" align="center" xbl:inherits="selected">
<xul:image class="tab-icon" xbl:inherits="src=image,validate"/>
<xul:label flex="1" xbl:inherits="value=label,crop,accesskey" crop="right" class="tab-text"/>
</xul:hbox>
<xul:spacer class="tab-image-right" inherits="selected"/>
<xul:spacer class="tab-image-right" xbl:inherits="selected"/>
</content>
</binding>
@ -39,7 +40,7 @@
<xul:stack flex="1">
<xul:spacer class="tabs-right"/>
<xul:hbox class="tabs-closebutton-box" align="center" pack="end">
<xul:toolbarbutton class="tabs-closebutton close-button" inherits="oncommand=onclosetab"/>
<xul:toolbarbutton class="tabs-closebutton close-button" xbl:inherits="oncommand=onclosetab"/>
</xul:hbox>
</xul:stack>
<xul:spacer class="tabs-right-cap"/>

View File

@ -2,19 +2,20 @@
<bindings id="globalBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="radio"
extends="chrome://global/content/bindings/radio.xml#radio">
<content>
<xul:hbox class="radio-check-box1" inherits="selected,checked,disabled">
<xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled">
<xul:hbox class="radio-check-box2" flex="1">
<xul:image class="radio-check" inherits="selected,checked,disabled"/>
<xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/>
</xul:hbox>
</xul:hbox>
<xul:hbox class="radio-label-box" flex="1">
<xul:image class="radio-icon" inherits="src"/>
<xul:label class="radio-label" inherits="xbl:text=label,accesskey,crop" flex="1"/>
<xul:image class="radio-icon" xbl:inherits="src"/>
<xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/>
</xul:hbox>
</content>
</binding>

View File

@ -2,13 +2,14 @@
<bindings id="sidebarSplitterBindings.xml"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="sidebar-tab" extends="xul:button">
<content>
<xul:hbox class="sidebar-tab-left-box">
<xul:spacer class="sidebar-tab-left"/>
<xul:label class="sidebar-tab-text" inherits="value=label" crop="right" flex="1"/>
<xul:label class="sidebar-tab-text" xbl:inherits="value=label" crop="right" flex="1"/>
</xul:hbox>
<xul:vbox class="sidebar-tab-right-box" flex="1">
<xul:hbox class="sidebar-tab-right-top-box">
@ -23,29 +24,29 @@
<binding id="DEAD" extends="xul:button">
<content>
<xul:vbox class="sidebar-tab-left">
<xul:spacer class="sidebar-tab-left-top" inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
<xul:spacer class="sidebar-tab-left-mid" inherits="selected,first-panel-after-selected,top-panel,last-panel"
<xul:spacer class="sidebar-tab-left-top" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
<xul:spacer class="sidebar-tab-left-mid" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"
flex="1"/>
<xul:spacer class="sidebar-tab-left-btm" inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
<xul:spacer class="sidebar-tab-left-btm" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
</xul:vbox>
<xul:stack class="sidebar-tab-mid-1">
<xul:vbox class="sidebar-tab-mid-2">
<xul:spacer class="sidebar-tab-mid-top" inherits="selected,first-panel-after-selected,top-panel,last-panel"
<xul:spacer class="sidebar-tab-mid-top" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"
flex="1"/>
<xul:spacer class="sidebar-tab-mid-btm" inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
<xul:spacer class="sidebar-tab-mid-btm" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
</xul:vbox>
<xul:vbox class="sidebar-tab-text-box">
<xul:label class="sidebar-tab-text" inherits="value=label" crop="right"/>
<xul:label class="sidebar-tab-text" xbl:inherits="value=label" crop="right"/>
</xul:vbox>
</xul:stack>
<xul:vbox class="sidebar-tab-right">
<xul:spacer class="sidebar-tab-right-top" inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
<xul:spacer class="sidebar-tab-right-mid" inherits="selected,first-panel-after-selected,top-panel,last-panel"
<xul:spacer class="sidebar-tab-right-top" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
<xul:spacer class="sidebar-tab-right-mid" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"
flex="1"/>
<xul:spacer class="sidebar-tab-right-btm" inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
<xul:spacer class="sidebar-tab-right-btm" xbl:inherits="selected,first-panel-after-selected,top-panel,last-panel"/>
</xul:vbox>
<xul:spacer class="sidebar-tab-rightcap" flex="1"/>
@ -54,7 +55,7 @@
<binding id="sidebarheader">
<content>
<xul:label class="sidebar-header-text" inherits="value=label,crop" crop="right" flex="1"/>
<xul:label class="sidebar-header-text" xbl:inherits="value=label,crop" crop="right" flex="1"/>
<xul:hbox>
<children/>
</xul:hbox>

View File

@ -2,14 +2,15 @@
<bindings id="toolbarBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="toolbar-primary"
extends="chrome://global/content/bindings/toolbar.xml#toolbar">
<content>
<xul:toolbargrippy inherits="last-toolbar"
<xul:toolbargrippy xbl:inherits="last-toolbar"
tbattr="toolbar-grippy" class="toolbar-primary-grippy"/>
<xul:hbox class="toolbar-holder toolbar-primary-holder" flex="1" inherits="orient=tborient">
<xul:hbox class="toolbar-holder toolbar-primary-holder" flex="1" xbl:inherits="orient=tborient">
<xul:image class="toolbar-primary-icon"/>
<xul:hbox class="toolbar-button-box" flex="1">
<children/>

View File

@ -3,7 +3,8 @@
<bindings id="globalBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<!-- :::/ widgets \ ::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
@ -14,9 +15,9 @@
<xul:stack class="box-inherit toolbarbutton-menubutton-stack" flex="1">
<xul:toolbarbutton class="box-inherit toolbarbutton-menubutton-button"
anonid="button" allowevents="true"
inherits="disabled,image,label,crop,accesskey,command,
buttonover,buttondown,align,dir,pack,orient"/>
<xul:dropmarker type="menu-button" inherits="open,disabled"
xbl:inherits="disabled,image,label,crop,accesskey,command,
buttonover,buttondown,align,dir,pack,orient"/>
<xul:dropmarker type="menu-button" xbl:inherits="open,disabled"
class="toolbarbutton-menubutton-dropmarker"/>
</xul:stack>
</content>

View File

@ -4,7 +4,8 @@
<bindings id="navigatorWidgetBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="urlbar" extends="xul:box">
<content flex="1">
@ -14,7 +15,7 @@
</xul:box>
<xul:menulist editable="true" class="location-field" flex="1"
autocomplete="true" timeout="300" searchSessionType="urlbar"
inherits="label=content"
xbl:inherits="label=content"
tooltiptext="" ubattr="field"/>
<xul:button class="button-toolbar-3 go-button" label="Go"
ubattr="go-button" tooltiptext="Go"/>
@ -46,9 +47,9 @@
<binding id="menulist-editable" extends="chrome://global/content/bindings/menulist.xml#menulist">
<content>
<xul:box align="center" flex="1" class="menulist-container">
<xul:image class="menulist-icon" inherits="src" emattr="icon"/>
<xul:image class="menulist-icon" xbl:inherits="src" emattr="icon"/>
<xul:textbox class="menulist-editable-textbox plain" flex="1" emattr="field"
inherits="autocomplete,searchSessionType,timeout,tooltiptext=fieldtooltiptext,value"/>
xbl:inherits="autocomplete,searchSessionType,timeout,tooltiptext=fieldtooltiptext,value"/>
<xul:menubutton class="menulist-editable-menubutton menubutton-icon" emattr="menubutton">
<xul:menupopup class="menulist-editable-menupopup" emattr="menupopup"
popupalign="topright" popupanchor="bottomright">

View File

@ -2,7 +2,8 @@
<bindings id="urlbarBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="urlbar" extends="chrome://global/content/autocomplete.xml#autocomplete">
<implementation>
@ -438,8 +439,8 @@
<binding id="autocomplete-search-engine">
<content>
<xul:image class="autocomplete-search-engine-img" inherits="src=icon"/>
<xul:label class="autocomplete-search-engine-text" inherits="value=label" crop="right" flex="1"/>
<xul:image class="autocomplete-search-engine-img" xbl:inherits="src=icon"/>
<xul:label class="autocomplete-search-engine-text" xbl:inherits="value=label" crop="right" flex="1"/>
</content>
<handlers>

View File

@ -3,7 +3,8 @@
<bindings id="autocompleteBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="autocomplete"
extends="chrome://global/content/bindings/textbox.xml#textbox">
@ -18,18 +19,18 @@
<xul:image class="autocomplete-icon" allowevents="true"/>
</children>
<xul:hbox class="textbox-input-box" flex="1" inherits="tooltiptext=inputtooltiptext">
<xul:hbox class="textbox-input-box" flex="1" xbl:inherits="tooltiptext=inputtooltiptext">
<html:input anonid="input" class="autocomplete-textbox textbox-input"
flex="1" allowevents="true"
inherits="tooltiptext=inputtooltiptext,onfocus,onblur,value,type,maxlength,disabled,size,readonly,userAction"/>
xbl:inherits="tooltiptext=inputtooltiptext,onfocus,onblur,value,type,maxlength,disabled,size,readonly,userAction"/>
</xul:hbox>
</xul:hbox>
<xul:dropmarker class="autocomplete-history-dropmarker" allowevents="true"
inherits="open,hidden=disablehistory" anonid="historydropmarker"/>
xbl:inherits="open,hidden=disablehistory" anonid="historydropmarker"/>
<xul:popupset>
<xul:popup ignorekeys="true" anonid="popup" class="autocomplete-result-popup" inherits="for=id,nomatch"/>
<xul:popup ignorekeys="true" anonid="popup" class="autocomplete-result-popup" xbl:inherits="for=id,nomatch"/>
</xul:popupset>
<children includes="menupopup"/>
@ -1442,7 +1443,7 @@
<binding id="autocomplete-tree" extends="chrome://global/content/bindings/tree.xml#tree">
<content>
<children includes="treecols"/>
<xul:treerows class="autocomplete-treerows tree-rows" inherits="hidescrollbar" flex="1">
<xul:treerows class="autocomplete-treerows tree-rows" xbl:inherits="hidescrollbar" flex="1">
<children/>
</xul:treerows>
</content>
@ -1495,7 +1496,7 @@
<xul:hbox flex="1" class="tree-bodybox">
<children/>
</xul:hbox>
<xul:scrollbar inherits="hidescrollbar" orient="vertical" class="tree-scrollbar"/>
<xul:scrollbar xbl:inherits="hidescrollbar" orient="vertical" class="tree-scrollbar"/>
</content>
</binding>

View File

@ -33,7 +33,8 @@
<bindings id="bookmarksBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="bookmarksBase">
<implementation>
@ -1977,7 +1978,7 @@
persist="width hidden sortActive sortDirection ordinal" />
</treecols>
</tree>
<statusbar class="chromeclass-status" inherits="hidden=hidestatusbar" hidden="false">
<statusbar class="chromeclass-status" xbl:inherits="hidden=hidestatusbar" hidden="false">
<statusbarpanel anonid="statusbar-text" flex="1"/>
</statusbar>
</vbox>

View File

@ -4,13 +4,14 @@
<bindings id="consoleBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="console-box" extends="xul:box">
<content>
<xul:stringbundle src="chrome://global/locale/console.properties" role="string-bundle"/>
<xul:vbox class="console-box-internal">
<xul:vbox class="console-rows" role="console-rows" inherits="dir=sortOrder"/>
<xul:vbox class="console-rows" role="console-rows" xbl:inherits="dir=sortOrder"/>
</xul:vbox>
</content>
@ -321,26 +322,26 @@
<binding id="error" extends="xul:box">
<content>
<xul:box class="console-row-internal-box" flex="1">
<xul:box class="console-row-icon" align="center" inherits="selected">
<xul:image class="console-icon" inherits="src,type"/>
<xul:box class="console-row-icon" align="center" xbl:inherits="selected">
<xul:image class="console-icon" xbl:inherits="src,type"/>
</xul:box>
<xul:vbox class="console-row-content" inherits="selected" flex="1">
<xul:vbox class="console-row-content" xbl:inherits="selected" flex="1">
<xul:box class="console-row-msg" align="start">
<xul:label class="label" inherits="value=typetext"/>
<xul:description class="console-error-msg" inherits="value=msg" flex="1"/>
<xul:label class="label" xbl:inherits="value=typetext"/>
<xul:description class="console-error-msg" xbl:inherits="value=msg" flex="1"/>
</xul:box>
<xul:box class="console-row-file" inherits="hidden=hideSource">
<xul:box class="console-row-file" xbl:inherits="hidden=hideSource">
<xul:label class="label" value="&errFile.label;"/>
<xul:box class="console-error-source" inherits="url"/>
<xul:box class="console-error-source" xbl:inherits="url"/>
<spacer flex="1"/>
<xul:label class="label" value="&errLine.label;"/>
<xul:label class="label" inherits="value=line" flex="1"/>
<xul:label class="label" xbl:inherits="value=line" flex="1"/>
</xul:box>
<xul:vbox class="console-row-code" inherits="selected,hidden=hideCode">
<xul:label class="monospace console-code" inherits="value=code"/>
<xul:box inherits="hidden=hideCaret">
<xul:label class="monospace console-dots" inherits="value=errorDots"/>
<xul:label class="monospace console-caret" inherits="value=errorCaret"/>
<xul:vbox class="console-row-code" xbl:inherits="selected,hidden=hideCode">
<xul:label class="monospace console-code" xbl:inherits="value=code"/>
<xul:box xbl:inherits="hidden=hideCaret">
<xul:label class="monospace console-dots" xbl:inherits="value=errorDots"/>
<xul:label class="monospace console-caret" xbl:inherits="value=errorCaret"/>
<xul:spacer flex="1"/>
</xul:box>
</xul:vbox>
@ -381,11 +382,11 @@
<content>
<xul:box class="console-internal-box" flex="1">
<xul:box class="console-row-icon" align="center">
<xul:image class="console-icon" inherits="src,type"/>
<xul:image class="console-icon" xbl:inherits="src,type"/>
</xul:box>
<xul:vbox class="console-row-content" inherits="selected" flex="1">
<xul:vbox class="console-row-content" xbl:inherits="selected" flex="1">
<xul:vbox class="console-row-msg" flex="1">
<xul:description class="console-msg-text" inherits="value=msg" flex="1"/>
<xul:description class="console-msg-text" xbl:inherits="value=msg" flex="1"/>
</xul:vbox>
</xul:vbox>
</xul:box>
@ -402,7 +403,7 @@
<binding id="console-error-source" extends="xul:box">
<content>
<xul:label class="text-link" inherits="value=url" crop="right"/>
<xul:label class="text-link" xbl:inherits="value=url" crop="right"/>
</content>
<handlers>

View File

@ -2,14 +2,15 @@
<bindings id="globalBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="texttab">
<content>
<xul:image class="box-texttab-left"/>
<xul:vbox class="box-texttab-text-container" inherits="value" flex="1">
<xul:vbox class="box-texttab-text-container" xbl:inherits="value" flex="1">
<xul:spacer flex="1"/>
<xul:label class="box-texttab-text" inherits="value=label" crop="right"/>
<xul:label class="box-texttab-text" xbl:inherits="value=label" crop="right"/>
<xul:spacer flex="1"/>
</xul:vbox>
<xul:image class="box-texttab-right"/>
@ -19,7 +20,7 @@
<binding id="sidebar-header-box" extends="xul:box">
<content align="center">
<xul:label class="sidebar-header-text" inherits="value=label,crop" crop="right" flex="1"/>
<xul:label class="sidebar-header-text" xbl:inherits="value=label,crop" crop="right" flex="1"/>
<xul:box>
<children/>
</xul:box>

View File

@ -2,7 +2,8 @@
<bindings id="buttonBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="button-base" extends="chrome://global/content/bindings/general.xml#basetext">
<implementation implements="nsIDOMXULButtonElement, nsIAccessibleProvider">
@ -95,11 +96,11 @@
<content>
<children includes="observes|template|menupopup|tooltip"/>
<xul:hbox class="box-inherit button-box" inherits="align,dir,pack,orient"
<xul:hbox class="box-inherit button-box" xbl:inherits="align,dir,pack,orient"
align="center" pack="center" flex="1">
<children>
<xul:image class="button-icon" inherits="src=image"/>
<xul:label class="button-text" inherits="value=label,accesskey,crop" flex="1"/>
<xul:image class="button-icon" xbl:inherits="src=image"/>
<xul:label class="button-text" xbl:inherits="value=label,accesskey,crop" flex="1"/>
</children>
</xul:hbox>
</content>
@ -109,12 +110,12 @@
extends="chrome://global/content/bindings/button.xml#button">
<content>
<children includes="observes|template|menupopup|tooltip"/>
<xul:hbox class="box-inherit button-box" inherits="align,dir,pack,orient"
<xul:hbox class="box-inherit button-box" xbl:inherits="align,dir,pack,orient"
align="center" pack="center" flex="1">
<children>
<xul:image class="button-icon" inherits="src=image"/>
<xul:label class="button-text" inherits="value=label,accesskey,crop" flex="1"/>
<xul:dropmarker class="button-menu-dropmarker" inherits="open,disabled"/>
<xul:image class="button-icon" xbl:inherits="src=image"/>
<xul:label class="button-text" xbl:inherits="value=label,accesskey,crop" flex="1"/>
<xul:dropmarker class="button-menu-dropmarker" xbl:inherits="open,disabled"/>
</children>
</xul:hbox>
</content>
@ -232,18 +233,18 @@
<children includes="observes|template|menupopup|tooltip"/>
<xul:button class="box-inherit button-menubutton-button"
anonid="button" flex="1" allowevents="true"
inherits="disabled,crop,image,label,accessKey,command,
buttonover,buttondown,align,dir,pack,orient">
xbl:inherits="disabled,crop,image,label,accessKey,command,
buttonover,buttondown,align,dir,pack,orient">
<children/>
</xul:button>
<xul:dropmarker class="button-menubutton-dropmarker" inherits="open,disabled"/>
<xul:dropmarker class="button-menubutton-dropmarker" xbl:inherits="open,disabled"/>
</content>
</binding>
<binding id="button-image" display="xul:button"
extends="chrome://global/content/bindings/button.xml#button">
<content>
<xul:image class="button-image-icon" inherits="src=image"/>
<xul:image class="button-image-icon" xbl:inherits="src=image"/>
</content>
</binding>

View File

@ -2,7 +2,8 @@
<bindings id="checkboxBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="checkbox" extends="chrome://global/content/bindings/checkbox.xml#checkbox-baseline">
<resources>
@ -12,10 +13,10 @@
<binding id="checkbox-baseline" extends="chrome://global/content/bindings/general.xml#basetext">
<content>
<xul:image class="checkbox-check" inherits="checked,disabled"/>
<xul:image class="checkbox-check" xbl:inherits="checked,disabled"/>
<xul:hbox class="checkbox-label-box" flex="1">
<xul:image class="checkbox-icon" inherits="src"/>
<xul:label class="checkbox-label" inherits="xbl:text=label,accesskey,crop" flex="1"/>
<xul:image class="checkbox-icon" xbl:inherits="src"/>
<xul:label class="checkbox-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/>
</xul:hbox>
</content>

View File

@ -2,7 +2,8 @@
<bindings id="colorpickerBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="colorpicker">
<resources>
@ -416,7 +417,7 @@
onpopupshowing="this._colorPicker.onPopupShowing()"
onpopuphiding="this._colorPicker.onPopupHiding()">
<xul:colorpicker inherits="palettename" allowevents="true" anonid="colorpicker"
<xul:colorpicker xbl:inherits="palettename" allowevents="true" anonid="colorpicker"
onselect="this.parentNode.parentNode.parentNode.pickerChange()"/>
</xul:popup>

View File

@ -2,7 +2,8 @@
<bindings id="dialogBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="dialog-base">
<resources>
@ -17,7 +18,7 @@
</xul:vbox>
<xul:hbox class="dialog-button-box" pack="end"
inherits="pack=buttonpack,align=buttonalign,dir=buttondir,orient=buttonorient">
xbl:inherits="pack=buttonpack,align=buttonalign,dir=buttondir,orient=buttonorient">
<xul:button dlgtype="accept" class="dialog-button"/>
<xul:button dlgtype="extra1" class="dialog-button" hidden="true" label=""/>
<xul:button dlgtype="extra2" class="dialog-button" hidden="true" label=""/>
@ -312,9 +313,9 @@
<binding id="dialogheader" extends="chrome://global/content/bindings/dialog.xml#dialog-base">
<content>
<xul:label class="dialogheader-title" inherits="value=title"/>
<xul:label class="dialogheader-title" xbl:inherits="value=title"/>
<xul:spacer flex="1"/>
<xul:label class="dialogheader-description" inherits="value=description"/>
<xul:label class="dialogheader-description" xbl:inherits="value=description"/>
</content>
</binding>

View File

@ -2,7 +2,8 @@
<bindings id="generalBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="basetext">
<implementation>
@ -168,9 +169,9 @@
<binding id="buttonleft-ile" extends="chrome://global/content/bindings/general.xml#inline-edit-base">
<content>
<xul:hbox class="button-internal-box" align="center" flex="1">
<xul:image class="button-icon" inherits="src"/>
<xul:image class="button-icon" xbl:inherits="src"/>
<xul:hbox class="button-text-container" flex="1" ileattr="text-container">
<xul:label class="button-text" inherits="value=label,accesskey,crop,dragover-top" ileattr="text" rootcontent="button" flex="1"/>
<xul:label class="button-text" xbl:inherits="value=label,accesskey,crop,dragover-top" ileattr="text" rootcontent="button" flex="1"/>
</xul:hbox>
</xul:hbox>
<children includes="menupopup"/>
@ -223,7 +224,7 @@
<binding id="statusbarpanel" display="xul:button">
<content>
<children>
<xul:label class="statusbarpanel-text" inherits="value=label,crop" crop="right" flex="1"/>
<xul:label class="statusbarpanel-text" xbl:inherits="value=label,crop" crop="right" flex="1"/>
</children>
</content>
@ -260,7 +261,7 @@
<binding id="statusbarpanel-iconic" display="xul:button"
extends="chrome://global/content/bindings/general.xml#statusbarpanel">
<content>
<xul:image class="statusbarpanel-icon" inherits="src"/>
<xul:image class="statusbarpanel-icon" xbl:inherits="src"/>
</content>
</binding>

View File

@ -2,7 +2,8 @@
<bindings id="groupboxBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="groupbox-base">
<resources>
@ -15,7 +16,7 @@
<xul:hbox class="groupbox-title" align="center" pack="start">
<children includes="caption"/>
</xul:hbox>
<xul:box flex="1" class="groupbox-body" inherits="orient,align,pack">
<xul:box flex="1" class="groupbox-body" xbl:inherits="orient,align,pack">
<children/>
</xul:box>
</content>
@ -39,9 +40,9 @@
<content>
<children>
<xul:image class="caption-icon" inherits="src=image"/>
<xul:image class="caption-icon" xbl:inherits="src=image"/>
<xul:label class="caption-text" flex="1"
inherits="default,value=label,crop,accesskey"/>
xbl:inherits="default,value=label,crop,accesskey"/>
</children>
</content>
</binding>

View File

@ -2,7 +2,8 @@
<bindings id="listboxBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="listbox-base">
<resources>
@ -20,7 +21,7 @@
</children>
<xul:listrows>
<children includes="listhead"/>
<xul:listboxbody inherits="rows,size,minheight">
<xul:listboxbody xbl:inherits="rows,size,minheight">
<children includes="listitem"/>
</xul:listboxbody>
</xul:listrows>
@ -731,7 +732,7 @@
<content>
<children>
<xul:listcell inherits="label,crop,disabled,flexlabel"/>
<xul:listcell xbl:inherits="label,crop,disabled,flexlabel"/>
</children>
</content>
@ -800,7 +801,7 @@
extends="chrome://global/content/bindings/listbox.xml#listitem">
<content>
<children>
<xul:listcell class="listcell-iconic" inherits="label,image,crop,disabled,flexlabel"/>
<xul:listcell class="listcell-iconic" xbl:inherits="label,image,crop,disabled,flexlabel"/>
</children>
</content>
</binding>
@ -809,7 +810,7 @@
extends="chrome://global/content/bindings/listbox.xml#listitem">
<content>
<children>
<xul:listcell type="checkbox" inherits="label,crop,checked,disabled,flexlabel"/>
<xul:listcell type="checkbox" xbl:inherits="label,crop,checked,disabled,flexlabel"/>
</children>
</content>
@ -838,7 +839,7 @@
extends="chrome://global/content/bindings/listbox.xml#listitem-checkbox">
<content>
<children>
<xul:listcell type="checkbox" class="listcell-iconic" inherits="label,image,crop,checked,disabled,flexlabel"/>
<xul:listcell type="checkbox" class="listcell-iconic" xbl:inherits="label,image,crop,checked,disabled,flexlabel"/>
</children>
</content>
</binding>
@ -847,7 +848,7 @@
extends="chrome://global/content/bindings/listbox.xml#listbox-base">
<content>
<children>
<xul:label class="listcell-label" inherits="value=label,flex=flexlabel,crop,disabled" flex="1" crop="right"/>
<xul:label class="listcell-label" xbl:inherits="value=label,flex=flexlabel,crop,disabled" flex="1" crop="right"/>
</children>
</content>
</binding>
@ -856,8 +857,8 @@
extends="chrome://global/content/bindings/listbox.xml#listcell">
<content>
<children>
<xul:image class="listcell-icon" inherits="src=image"/>
<xul:label class="listcell-label" inherits="value=label,flex=flexlabel,crop,disabled" flex="1" crop="right"/>
<xul:image class="listcell-icon" xbl:inherits="src=image"/>
<xul:label class="listcell-label" xbl:inherits="value=label,flex=flexlabel,crop,disabled" flex="1" crop="right"/>
</children>
</content>
</binding>
@ -866,8 +867,8 @@
extends="chrome://global/content/bindings/listbox.xml#listcell">
<content>
<children>
<xul:image class="listcell-check" inherits="checked,disabled"/>
<xul:label class="listcell-label" inherits="value=label,flex=flexlabelcrop,disabled" flex="1" crop="right"/>
<xul:image class="listcell-check" xbl:inherits="checked,disabled"/>
<xul:label class="listcell-label" xbl:inherits="value=label,flex=flexlabelcrop,disabled" flex="1" crop="right"/>
</children>
</content>
</binding>
@ -876,9 +877,9 @@
extends="chrome://global/content/bindings/listbox.xml#listcell-checkbox">
<content>
<children>
<xul:image class="listcell-check" inherits="checked,disabled"/>
<xul:image class="listcell-icon" inherits="src=image"/>
<xul:label class="listcell-label" inherits="value=label,flex=flexlabelcrop,disabled" flex="1" crop="right"/>
<xul:image class="listcell-check" xbl:inherits="checked,disabled"/>
<xul:image class="listcell-icon" xbl:inherits="src=image"/>
<xul:label class="listcell-label" xbl:inherits="value=label,flex=flexlabelcrop,disabled" flex="1" crop="right"/>
</children>
</content>
</binding>
@ -896,8 +897,8 @@
extends="chrome://global/content/bindings/listbox.xml#listbox-base">
<content>
<xul:image class="listheader-icon"/>
<xul:label class="listheader-label" inherits="value=label,crop" flex="1" crop="right"/>
<xul:image class="listheader-sortdirection" inherits="sortDirection"/>
<xul:label class="listheader-label" xbl:inherits="value=label,crop" flex="1" crop="right"/>
<xul:image class="listheader-sortdirection" xbl:inherits="sortDirection"/>
</content>
</binding>

View File

@ -2,7 +2,8 @@
<bindings id="menuitemBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="menuitem-base">
<resources>
@ -27,9 +28,9 @@
<binding id="menu" extends="chrome://global/content/bindings/menu.xml#menuitem-base">
<content>
<xul:label class="menu-text" flex="1" inherits="value=label,accesskey,crop" crop="right"/>
<xul:label class="menu-accel" inherits="value=acceltext"/>
<xul:hbox align="center" class="menu-right" inherits="_moz-menuactive,disabled">
<xul:label class="menu-text" flex="1" xbl:inherits="value=label,accesskey,crop" crop="right"/>
<xul:label class="menu-accel" xbl:inherits="value=acceltext"/>
<xul:hbox align="center" class="menu-right" xbl:inherits="_moz-menuactive,disabled">
<xul:image/>
</xul:hbox>
<children includes="menupopup"/>
@ -43,8 +44,8 @@
<binding id="menuitem" extends="chrome://global/content/bindings/menu.xml#menuitem-base">
<content>
<xul:label class="menu-text" flex="1" inherits="value=label,accesskey,crop" crop="right"/>
<xul:label class="menu-accel" inherits="value=acceltext"/>
<xul:label class="menu-text" flex="1" xbl:inherits="value=label,accesskey,crop" crop="right"/>
<xul:label class="menu-accel" xbl:inherits="value=acceltext"/>
</content>
<implementation>
@ -55,7 +56,7 @@
<binding id="menu-menubar" extends="chrome://global/content/bindings/menu.xml#menuitem-base">
<content>
<xul:label class="menubar-text" inherits="value=label,accesskey,crop" crop="right"/>
<xul:label class="menubar-text" xbl:inherits="value=label,accesskey,crop" crop="right"/>
<children includes="menupopup"/>
</content>
</binding>
@ -63,7 +64,7 @@
<binding id="menu-menubar-iconic" extends="chrome://global/content/bindings/menu.xml#menuitem-base">
<content>
<xul:image class="menubar-left"/>
<xul:label class="menubar-text" inherits="value=label,accesskey,crop" crop="right"/>
<xul:label class="menubar-text" xbl:inherits="value=label,accesskey,crop" crop="right"/>
<children includes="menupopup"/>
</content>
</binding>
@ -71,32 +72,32 @@
<binding id="menuitem-iconic" extends="chrome://global/content/bindings/menu.xml#menuitem">
<content>
<xul:hbox class="menu-iconic-left" align="center" pack="center"
inherits="selected,_moz-menuactive,disabled,checked">
<xul:image class="menu-iconic-icon" inherits="validate,src"/>
xbl:inherits="selected,_moz-menuactive,disabled,checked">
<xul:image class="menu-iconic-icon" xbl:inherits="validate,src"/>
</xul:hbox>
<xul:label class="menu-iconic-text" flex="1" inherits="value=label,accesskey,crop" crop="right"/>
<xul:label class="menu-iconic-accel" inherits="value=acceltext"/>
<xul:label class="menu-iconic-text" flex="1" xbl:inherits="value=label,accesskey,crop" crop="right"/>
<xul:label class="menu-iconic-accel" xbl:inherits="value=acceltext"/>
</content>
</binding>
<binding id="menuitem-iconic-noaccel" extends="chrome://global/content/bindings/menu.xml#menuitem">
<content>
<xul:hbox class="menu-iconic-left" align="center" pack="center"
inherits="selected,disabled,checked">
<xul:image class="menu-iconic-icon" inherits="validate,src"/>
xbl:inherits="selected,disabled,checked">
<xul:image class="menu-iconic-icon" xbl:inherits="validate,src"/>
</xul:hbox>
<xul:label class="menu-iconic-text" flex="1" inherits="value=label,accesskey,crop" crop="right"/>
<xul:label class="menu-iconic-text" flex="1" xbl:inherits="value=label,accesskey,crop" crop="right"/>
</content>
</binding>
<binding id="menu-iconic" extends="chrome://global/content/bindings/menu.xml#menuitem-base">
<content>
<xul:hbox class="menu-iconic-left" align="center" pack="center">
<xul:image inherits="src=image"/>
<xul:image xbl:inherits="src=image"/>
</xul:hbox>
<xul:label class="menu-iconic-text" flex="1" inherits="value=label,accesskey,crop" crop="right"/>
<xul:label class="menu-iconic-accel" inherits="value=acceltext"/>
<xul:hbox class="menu-right" inherits="_moz-menuactive,disabled" align="center" pack="center">
<xul:label class="menu-iconic-text" flex="1" xbl:inherits="value=label,accesskey,crop" crop="right"/>
<xul:label class="menu-iconic-accel" xbl:inherits="value=acceltext"/>
<xul:hbox class="menu-right" xbl:inherits="_moz-menuactive,disabled" align="center" pack="center">
<xul:image/>
</xul:hbox>
<children includes="menupopup|template"/>
@ -110,7 +111,7 @@
<binding id="menubutton-item" extends="chrome://global/content/bindings/menu.xml#menuitem-base">
<content>
<xul:label class="menubutton-text" flex="1" inherits="value=label,accesskey,crop" crop="right"/>
<xul:label class="menubutton-text" flex="1" xbl:inherits="value=label,accesskey,crop" crop="right"/>
<children includes="menupopup"/>
</content>
</binding>

View File

@ -3,7 +3,8 @@
<bindings id="menulistBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="menulist-base">
<resources>
@ -15,8 +16,8 @@
extends="chrome://global/content/bindings/menulist.xml#menulist-base">
<content>
<xul:hbox class="menulist-label-box" flex="1">
<xul:image class="menulist-icon" inherits="src"/>
<xul:label class="menulist-label" inherits="value=label,crop,accesskey" crop="right" flex="1"/>
<xul:image class="menulist-icon" xbl:inherits="src"/>
<xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/>
</xul:hbox>
<xul:dropmarker class="menulist-dropmarker" type="menu"/>
<children includes="menupopup"/>
@ -246,7 +247,7 @@
<content>
<xul:hbox class="menulist-editable-box" flex="1">
<html:input flex="1" class="menulist-editable-input" allowevents="true"
inherits="value=label,disabled"/>
xbl:inherits="value=label,disabled"/>
</xul:hbox>
<xul:dropmarker class="menulist-dropmarker" type="menu"/>
<children includes="menupopup"/>
@ -463,8 +464,8 @@
extends="chrome://global/content/bindings/menulist.xml#menulist">
<content>
<xul:dropmarker class="menulist-dropmarker" type="menu"/>
<xul:image class="menulist-icon" inherits="src"/>
<xul:label class="menulist-label" inherits="value=label,crop,accesskey" crop="right" flex="1"/>
<xul:image class="menulist-icon" xbl:inherits="src"/>
<xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/>
<children includes="menupopup"/>
</content>
</binding>

View File

@ -2,7 +2,8 @@
<bindings id="popupBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="popup-base">
<resources>
@ -142,7 +143,7 @@
<binding id="tooltip" extends="chrome://global/content/bindings/popup.xml#popup">
<content>
<children>
<xul:label class="tooltip-label" inherits="value=label,crop" crop="right" flex="1"/>
<xul:label class="tooltip-label" xbl:inherits="value=label,crop" crop="right" flex="1"/>
</children>
</content>
@ -413,7 +414,7 @@
<content>
<xul:hbox class="titlebar-box" flex="1">
<xul:hbox class="titlebar-title-box" flex="1" tooltiptext="Click and drag to float">
<xul:label class="titlebar-title" inherits="value=title" flex="1" crop="right"/>
<xul:label class="titlebar-title" xbl:inherits="value=title" flex="1" crop="right"/>
</xul:hbox>
<xul:button class="popupClose" tooltiptext="Close"/>
</xul:hbox>
@ -606,7 +607,7 @@
<content xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
<vbox class="floater-box" flex="1">
<box class="floater-box-top">
<titlebar flex="1" inherits="title" style="border: 1px outset grey; background-color: grey;"/>
<titlebar flex="1" xbl:inherits="title" style="border: 1px outset grey; background-color: grey;"/>
</box>
<box class="floater-box-center" flex="1">
<box class="floater-children" flex="1">
@ -625,7 +626,7 @@
<content xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
<vbox class="floater-box" flex="1">
<box class="floater-box-top">
<titlebar flex="1" inherits="title"/>
<titlebar flex="1" xbl:inherits="title"/>
</box>
<box class="floater-box-center" flex="1">
<box class="floater-children" flex="1">

View File

@ -2,7 +2,8 @@
<bindings id="progressmeterBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="progressmeter">
<resources>
@ -10,8 +11,8 @@
</resources>
<content>
<xul:spacer class="progress-bar" inherits="mode"/>
<xul:spacer class="progress-remainder" inherits="mode"/>
<xul:spacer class="progress-bar" xbl:inherits="mode"/>
<xul:spacer class="progress-remainder" xbl:inherits="mode"/>
</content>
<implementation implements="nsIAccessibleProvider">

View File

@ -2,7 +2,8 @@
<bindings id="radioBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="radiogroup">
<resources>
@ -292,10 +293,10 @@
</resources>
<content>
<xul:image class="radio-check" inherits="disabled,selected"/>
<xul:image class="radio-check" xbl:inherits="disabled,selected"/>
<xul:hbox class="radio-label-box" flex="1">
<xul:image class="radio-icon" inherits="src"/>
<xul:label class="radio-label" inherits="xbl:text=label,accesskey,crop" flex="1"/>
<xul:image class="radio-icon" xbl:inherits="src"/>
<xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/>
</xul:hbox>
</content>

View File

@ -2,7 +2,8 @@
<bindings id="scrollbarBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="thumb" extends="xul:button">
<content>
@ -12,14 +13,14 @@
<binding id="scrollbar">
<content>
<xul:scrollbarbutton sbattr="scrollbar-up-top" type="decrement" inherits="sborient=orient"/>
<xul:scrollbarbutton sbattr="scrollbar-down-top" type="increment" hidden="true" inherits="sborient=orient"/>
<xul:slider flex="1" inherits="curpos,maxpos,pageincrement,increment,orient,sborient=orient">
<xul:thumb sbattr="scrollbar-thumb" inherits="orient,sborient=orient"
<xul:scrollbarbutton sbattr="scrollbar-up-top" type="decrement" xbl:inherits="sborient=orient"/>
<xul:scrollbarbutton sbattr="scrollbar-down-top" type="increment" hidden="true" xbl:inherits="sborient=orient"/>
<xul:slider flex="1" xbl:inherits="curpos,maxpos,pageincrement,increment,orient,sborient=orient">
<xul:thumb sbattr="scrollbar-thumb" xbl:inherits="orient,sborient=orient"
align="center" pack="center" flex="1"/>
</xul:slider>
<xul:scrollbarbutton sbattr="scrollbar-up-bottom" type="decrement" hidden="true" inherits="sborient=orient"/>
<xul:scrollbarbutton sbattr="scrollbar-down-bottom" type="increment" inherits="sborient=orient"/>
<xul:scrollbarbutton sbattr="scrollbar-up-bottom" type="decrement" hidden="true" xbl:inherits="sborient=orient"/>
<xul:scrollbarbutton sbattr="scrollbar-down-bottom" type="increment" xbl:inherits="sborient=orient"/>
</content>
<implementation>

View File

@ -2,7 +2,8 @@
<bindings id="arrowscrollboxBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="scrollbox-base">
<resources>
@ -12,7 +13,7 @@
<binding id="scrollbox" extends="chrome://global/content/bindings/scrollbox.xml#scrollbox-base">
<content>
<xul:box class="box-inherit scrollbox-innerbox" inherits="orient,align,pack,dir">
<xul:box class="box-inherit scrollbox-innerbox" xbl:inherits="orient,align,pack,dir">
<children/>
</xul:box>
</content>
@ -21,7 +22,7 @@
<binding id="arrowscrollbox" extends="chrome://global/content/bindings/scrollbox.xml#scrollbox-base">
<content>
<xul:autorepeatbutton class="autorepeatbutton-up" scrolldir="up" collapsed="true"/>
<xul:scrollbox inherits="orient,align,pack,dir" flex="1">
<xul:scrollbox xbl:inherits="orient,align,pack,dir" flex="1">
<children/>
</xul:scrollbox>
<xul:autorepeatbutton class="autorepeatbutton-down" scrolldir="down" collapsed="true"/>

View File

@ -22,7 +22,8 @@
<bindings id="spinbuttonsBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="spinbuttons"
extends="chrome://global/content/bindings/spinbuttons.xml#spinbuttons-baseline">
@ -34,8 +35,8 @@
<binding id="spinbuttons-baseline">
<content>
<xul:vbox flex="1" align="center">
<xul:image inherits="onclick=onup" id="upButton" class="up"/>
<xul:image inherits="onclick=ondown" id="downButton" class="down"/>
<xul:image xbl:inherits="onclick=onup" id="upButton" class="up"/>
<xul:image xbl:inherits="onclick=ondown" id="downButton" class="down"/>
</xul:vbox>
</content>
</binding>

View File

@ -2,7 +2,8 @@
<bindings id="tabBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="tab-base">
<resources>
@ -343,7 +344,7 @@
<xul:stack flex="1">
<xul:spacer class="tabs-right"/>
<xul:hbox class="tabs-closebutton-box" align="center" pack="end">
<xul:toolbarbutton class="tabs-closebutton close-button" inherits="disabled=disableclose,oncommand=onclosetab"/>
<xul:toolbarbutton class="tabs-closebutton close-button" xbl:inherits="disabled=disableclose,oncommand=onclosetab"/>
</xul:hbox>
</xul:stack>
</content>
@ -406,8 +407,8 @@
<binding id="tab" display="xul:button"
extends="chrome://global/content/bindings/tabbox.xml#tab-base">
<content>
<xul:image class="tab-icon" inherits="validate,src=image"/>
<xul:label class="tab-text" inherits="value=label,accesskey,crop,disabled" flex="1"/>
<xul:image class="tab-icon" xbl:inherits="validate,src=image"/>
<xul:label class="tab-text" xbl:inherits="value=label,accesskey,crop,disabled" flex="1"/>
</content>
<implementation implements="nsIDOMXULSelectControlItemElement, nsIAccessibleProvider">

View File

@ -41,7 +41,8 @@
<bindings id="tabBrowserBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="tabbrowser">
<resources>
@ -98,7 +99,7 @@
</xul:tabs>
</xul:hbox>
<xul:tabpanels flex="1" class="plain">
<xul:browser type="content-primary" inherits="tooltip=contenttooltip,contextmenu=contentcontextmenu"/>
<xul:browser type="content-primary" xbl:inherits="tooltip=contenttooltip,contextmenu=contentcontextmenu"/>
</xul:tabpanels>
</xul:tabbox>
<children/>

View File

@ -8,7 +8,8 @@
<bindings id="textboxBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="textbox" extends="xul:box">
<resources>
@ -18,7 +19,7 @@
<content>
<xul:hbox class="textbox-input-box" flex="1">
<html:input class="textbox-input" flex="1" anonid="input"
inherits="onfocus,onblur,value,type,maxlength,disabled,size,readonly,tabindex"/>
xbl:inherits="onfocus,onblur,value,type,maxlength,disabled,size,readonly,tabindex"/>
</xul:hbox>
</content>
@ -109,7 +110,7 @@
<content>
<xul:hbox class="textbox-input-box" flex="1">
<html:textarea class="textbox-textarea" flex="1" anonid="input"
inherits="onfocus,onblur,value,disabled,rows,cols,readonly,wrap"/>
xbl:inherits="onfocus,onblur,value,disabled,rows,cols,readonly,wrap"/>
</xul:hbox>
</content>
</binding>

View File

@ -2,7 +2,8 @@
<bindings id="toolbarBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="toolbar-base">
<resources>
@ -125,11 +126,11 @@
<binding id="toolbar" extends="chrome://global/content/bindings/toolbar.xml#toolbar-base">
<content>
<xul:toolbargrippy inherits="last-toolbar,hidden=grippyhidden"
<xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
tbattr="toolbar-grippy"
class="toolbar-grippy"/>
<xul:hbox flex="1" class="toolbar-holder" align="center"
inherits="collapsed,last-toolbar,orient=tborient,align=tbalign,pack=tbpack">
xbl:inherits="collapsed,last-toolbar,orient=tborient,align=tbalign,pack=tbpack">
<children/>
</xul:hbox>
</content>
@ -170,9 +171,9 @@
</resources>
<content>
<xul:toolbargrippy inherits="tooltiptext=grippytooltiptext,last-toolbar,hidden=grippyhidden"
<xul:toolbargrippy xbl:inherits="tooltiptext=grippytooltiptext,last-toolbar,hidden=grippyhidden"
tbattr="toolbar-grippy" class="toolbar-grippy"/>
<xul:hbox flex="1" class="toolbar-holder" inherits="collapsed,last-toolbar" align="center">
<xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar" align="center">
<children/>
</xul:hbox>
</content>

View File

@ -2,7 +2,8 @@
<bindings id="toolbarbuttonBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="toolbarbutton" display="xul:button"
extends="chrome://global/content/bindings/button.xml#button-base">
@ -12,9 +13,9 @@
<content>
<children includes="observes|template|menupopup|tooltip"/>
<xul:image class="toolbarbutton-icon" inherits="validate,src=image"/>
<xul:image class="toolbarbutton-icon" xbl:inherits="validate,src=image"/>
<xul:label class="toolbarbutton-text" crop="right" flex="1"
inherits="value=label,accesskey,crop"/>
xbl:inherits="value=label,accesskey,crop"/>
</content>
</binding>
@ -22,10 +23,10 @@
extends="chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton">
<content>
<children includes="observes|template|menupopup|tooltip"/>
<xul:image class="toolbarbutton-icon" inherits="validate,src=image"/>
<xul:image class="toolbarbutton-icon" xbl:inherits="validate,src=image"/>
<xul:label class="toolbarbutton-text" crop="right" flex="1"
inherits="value=label,accesskey,crop,dragover-top"/>
<xul:dropmarker type="menu" class="toolbarbutton-menu-dropmarker" inherits="disabled"/>
xbl:inherits="value=label,accesskey,crop,dragover-top"/>
<xul:dropmarker type="menu" class="toolbarbutton-menu-dropmarker" xbl:inherits="disabled"/>
</content>
</binding>
@ -39,10 +40,10 @@
<children includes="observes|template|menupopup|tooltip"/>
<xul:toolbarbutton class="box-inherit toolbarbutton-menubutton-button"
anonid="button" flex="1" allowevents="true"
inherits="disabled,crop,image,label,accessKey,command,
align,dir,pack,orient"/>
xbl:inherits="disabled,crop,image,label,accessKey,command,
align,dir,pack,orient"/>
<xul:dropmarker type="menu-button" class="toolbarbutton-menubutton-dropmarker"
inherits="align,dir,pack,orient,disabled"/>
xbl:inherits="align,dir,pack,orient,disabled"/>
</content>
</binding>
@ -50,7 +51,7 @@
<binding id="toolbarbutton-image"
extends="chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton">
<content>
<xul:image class="toolbarbutton-icon" inherits="src=image"/>
<xul:image class="toolbarbutton-icon" xbl:inherits="src=image"/>
</content>
</binding>

View File

@ -2,7 +2,8 @@
<bindings id="treeBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="tree-base">
<resources>
@ -910,8 +911,8 @@
<binding id="treecol" extends="chrome://global/content/bindings/tree.xml#treecol-base">
<content>
<xul:label class="treecol-text" inherits="crop,value=label" flex="1" crop="right"/>
<xul:image class="treecol-sortdirection" inherits="sortDirection"/>
<xul:label class="treecol-text" xbl:inherits="crop,value=label" flex="1" crop="right"/>
<xul:image class="treecol-sortdirection" xbl:inherits="sortDirection"/>
</content>
<handlers>
@ -921,7 +922,7 @@
<binding id="treecol-image" extends="chrome://global/content/bindings/tree.xml#treecol-base">
<content>
<xul:image class="treecol-icon" inherits="src"/>
<xul:image class="treecol-icon" xbl:inherits="src"/>
</content>
<handlers>
<handler event="click" button="0" action="this.parentNode.parentNode.treeBoxObject.view.cycleHeader(this.id, this)"/>

View File

@ -2,7 +2,8 @@
<bindings id="wizardBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="wizard-base">
<resources>
@ -19,7 +20,7 @@
</xul:deck>
<children/>
<xul:hbox class="wizard-buttons" anonid="Buttons" inherits="pagestep,firstpage,lastpage"/>
<xul:hbox class="wizard-buttons" anonid="Buttons" xbl:inherits="pagestep,firstpage,lastpage"/>
</content>
<implementation>
@ -404,10 +405,10 @@
<content>
<xul:hbox class="wizard-header-box-1" flex="1">
<xul:vbox class="wizard-header-box-text" flex="1">
<xul:label class="wizard-header-label" inherits="value=label"/>
<xul:label class="wizard-header-description" inherits="value=description"/>
<xul:label class="wizard-header-label" xbl:inherits="value=label"/>
<xul:label class="wizard-header-description" xbl:inherits="value=description"/>
</xul:vbox>
<xul:image class="wizard-header-icon" inherits="src=iconsrc"/>
<xul:image class="wizard-header-icon" xbl:inherits="src=iconsrc"/>
</xul:hbox>
</content>
</binding>
@ -455,13 +456,13 @@
<xul:vbox class="wizard-header-box-1">
<xul:vbox class="wizard-header-box-2">
<xul:vbox class="wizard-header-box-text">
<xul:label class="wizard-header-label" inherits="value=label"/>
<xul:label class="wizard-header-label" xbl:inherits="value=label"/>
</xul:vbox>
</xul:vbox>
</xul:vbox>
<xul:hbox class="wizard-header-box-icon">
<xul:spacer flex="1"/>
<xul:image class="wizard-header-icon" inherits="src=iconsrc"/>
<xul:image class="wizard-header-icon" xbl:inherits="src=iconsrc"/>
</xul:hbox>
</xul:stack>
</content>
@ -470,7 +471,7 @@
<binding id="wizard-buttons-mac" extends="chrome://global/content/bindings/wizard.xml#wizard-base">
<content>
<xul:vbox flex="1">
<xul:hbox class="wizard-buttons-top" inherits="hidden=hidetoprow">
<xul:hbox class="wizard-buttons-top" xbl:inherits="hidden=hidetoprow">
<xul:spacer flex="1"/>
<xul:button class="wizard-button" dlgtype="cancel"/>
<xul:button class="wizard-button" dlgtype="finish" default="true"/>
@ -480,9 +481,9 @@
<xul:spacer flex="1"/>
<xul:button class="wizard-button wizard-nav-button" dlgtype="back"/>
<xul:hbox class="wizard-label-box" align="center">
<xul:label class="wizard-page-label" inherits="value=pagestep"/>
<xul:label class="wizard-page-label" xbl:inherits="value=pagestep"/>
</xul:hbox>
<xul:button class="wizard-button wizard-nav-button" dlgtype="next" default="true" inherits="disabled=lastpage"/>
<xul:button class="wizard-button wizard-nav-button" dlgtype="next" default="true" xbl:inherits="disabled=lastpage"/>
</xul:hbox>
</xul:vbox>
</content>

View File

@ -2,7 +2,8 @@
<bindings id="platformDialogBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="dialog" extends="chrome://global/content/bindings/dialog.xml#dialog">
<content>
@ -11,7 +12,7 @@
</xul:vbox>
<xul:hbox class="dialog-button-box"
inherits="pack=buttonpack,align=buttonalign,dir=buttondir,orient=buttonorient">
xbl:inherits="pack=buttonpack,align=buttonalign,dir=buttondir,orient=buttonorient">
<xul:button dlgtype="disclosure" class="dialog-button" hidden="true"/>
<xul:button dlgtype="help" class="dialog-button" hidden="true"/>
<xul:button dlgtype="extra2" class="dialog-button" hidden="true" label=""/>