Bug 1469902 - Remove the tab-base binding
MozReview-Commit-ID: 2l9v45NnOV5
--- a/toolkit/content/components.css
+++ b/toolkit/content/components.css
@@ -7,8 +7,9 @@
======================================================================= */
@import url("chrome://global/skin/dropmarker.css");
@import url("chrome://global/skin/groupbox.css");
@import url("chrome://global/skin/menu.css");
@import url("chrome://global/skin/menulist.css");
@import url("chrome://global/skin/toolbar.css");
@import url("chrome://global/skin/splitter.css");
+@import url("chrome://global/skin/tabbox.css");
--- a/toolkit/content/widgets/tabbox.xml
+++ b/toolkit/content/widgets/tabbox.xml
@@ -3,25 +3,17 @@
- 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/. -->
<bindings id="tabBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
-
- <binding id="tab-base">
- <resources>
- <stylesheet src="chrome://global/skin/tabbox.css"/>
- </resources>
- </binding>
-
- <binding id="tabbox"
- extends="chrome://global/content/bindings/tabbox.xml#tab-base">
+ <binding id="tabbox">
<implementation>
<property name="handleCtrlTab">
<setter>
<![CDATA[
this.setAttribute("handleCtrlTab", val);
return val;
]]>
</setter>
@@ -531,18 +523,17 @@
event.stopPropagation();
]]>
</handler>
</handlers>
#endif
</binding>
- <binding id="tabpanels"
- extends="chrome://global/content/bindings/tabbox.xml#tab-base">
+ <binding id="tabpanels">
<implementation implements="nsIDOMXULRelatedElement">
<!-- nsIDOMXULRelatedElement -->
<method name="getRelatedElement">
<parameter name="aTabPanelElm"/>
<body>
<![CDATA[
if (!aTabPanelElm)
return null;