зеркало из https://github.com/mozilla/gecko-dev.git
80488 - page info dead, r=blake/andreww
This commit is contained in:
Родитель
fcece6ca6c
Коммит
c222c09e51
|
@ -54,7 +54,7 @@ toolkit.jar:
|
||||||
content/global/bindings/scrollbox.xml (resources/content/bindings/scrollbox.xml)
|
content/global/bindings/scrollbox.xml (resources/content/bindings/scrollbox.xml)
|
||||||
content/global/bindings/splitter.xml (resources/content/bindings/splitter.xml)
|
content/global/bindings/splitter.xml (resources/content/bindings/splitter.xml)
|
||||||
content/global/bindings/stringbundle.xml (resources/content/bindings/stringbundle.xml)
|
content/global/bindings/stringbundle.xml (resources/content/bindings/stringbundle.xml)
|
||||||
content/global/bindings/tabcontrol.xml (resources/content/bindings/tabcontrol.xml)
|
content/global/bindings/tabbox.xml (resources/content/bindings/tabbox.xml)
|
||||||
content/global/bindings/text.xml (resources/content/bindings/text.xml)
|
content/global/bindings/text.xml (resources/content/bindings/text.xml)
|
||||||
content/global/bindings/textbox.xml (resources/content/bindings/textbox.xml)
|
content/global/bindings/textbox.xml (resources/content/bindings/textbox.xml)
|
||||||
content/global/bindings/titledbox.xml (resources/content/bindings/titledbox.xml)
|
content/global/bindings/titledbox.xml (resources/content/bindings/titledbox.xml)
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
|
|
||||||
<binding id="tab-base">
|
<binding id="tab-base">
|
||||||
<resources>
|
<resources>
|
||||||
<stylesheet src="chrome://global/skin/tabcontrol.css"/>
|
<stylesheet src="chrome://global/skin/tabbox.css"/>
|
||||||
</resources>
|
</resources>
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<binding id="tabcontrol" display="xul:box"
|
<binding id="tabbox" display="xul:box"
|
||||||
extends="chrome://global/content/bindings/tabcontrol.xml#tab-base">
|
extends="chrome://global/content/bindings/tabbox.xml#tab-base">
|
||||||
<content orient="vertical"/>
|
<content orient="vertical"/>
|
||||||
|
|
||||||
<implementation>
|
<implementation>
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<binding id="tabs" display="xul:box"
|
<binding id="tabs" display="xul:box"
|
||||||
extends="chrome://global/content/bindings/tabcontrol.xml#tab-base">
|
extends="chrome://global/content/bindings/tabbox.xml#tab-base">
|
||||||
<implementation>
|
<implementation>
|
||||||
<constructor>
|
<constructor>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
@ -145,7 +145,7 @@
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<binding id="tabpanels" display="xul:deck"
|
<binding id="tabpanels" display="xul:deck"
|
||||||
extends="chrome://global/content/bindings/tabcontrol.xml#tab-base">
|
extends="chrome://global/content/bindings/tabbox.xml#tab-base">
|
||||||
<implementation>
|
<implementation>
|
||||||
<!-- should be defined on deck! -->
|
<!-- should be defined on deck! -->
|
||||||
<property name="index"
|
<property name="index"
|
||||||
|
@ -155,7 +155,7 @@
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<binding id="tab" display="xul:button"
|
<binding id="tab" display="xul:button"
|
||||||
extends="chrome://global/content/bindings/tabcontrol.xml#tab-base">
|
extends="chrome://global/content/bindings/tabbox.xml#tab-base">
|
||||||
<content>
|
<content>
|
||||||
<xul:box class="tab-box" flex="1" autostretch="never" orient="horizontal">
|
<xul:box class="tab-box" flex="1" autostretch="never" orient="horizontal">
|
||||||
<xul:image class="tab-image" inherits="src"/>
|
<xul:image class="tab-image" inherits="src"/>
|
||||||
|
@ -202,7 +202,7 @@
|
||||||
if (tabs.localName == "tabs")
|
if (tabs.localName == "tabs")
|
||||||
break;
|
break;
|
||||||
tabs = tabs.parentNode;
|
tabs = tabs.parentNode;
|
||||||
} while(tabs.localName != "tabcontrol");
|
} while(tabs.localName != "tabbox");
|
||||||
tabs.selectedTab = this;
|
tabs.selectedTab = this;
|
||||||
if (!this.selected) this.selected = true;
|
if (!this.selected) this.selected = true;
|
||||||
]]>
|
]]>
|
|
@ -435,22 +435,22 @@ stack {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/********** tabcontrol *********/
|
/********** tabbox *********/
|
||||||
|
|
||||||
tabcontrol {
|
tabbox {
|
||||||
-moz-binding: url("chrome://global/content/bindings/tabcontrol.xml#tabcontrol");
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabbox");
|
||||||
}
|
}
|
||||||
|
|
||||||
tabs {
|
tabs {
|
||||||
-moz-binding: url("chrome://global/content/bindings/tabcontrol.xml#tabs");
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabs");
|
||||||
}
|
}
|
||||||
|
|
||||||
tab {
|
tab {
|
||||||
-moz-binding: url("chrome://global/content/bindings/tabcontrol.xml#tab");
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tab");
|
||||||
}
|
}
|
||||||
|
|
||||||
tabpanels {
|
tabpanels {
|
||||||
-moz-binding: url("chrome://global/content/bindings/tabcontrol.xml#tabpanels");
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabpanels");
|
||||||
display: -moz-xul-deck;
|
display: -moz-xul-deck;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче