Bug 1469902 - Remove the tab-base binding draft
authorBrian Grinstead <bgrinstead@mozilla.com>
Wed, 20 Jun 2018 11:12:57 -0700
changeset 808784 26180a9edbb1942e25de3cf61e93e866b6252faa
parent 808726 681eb7dfa324dd50403c382888929ea8b8b11b00
child 808785 72549336de1b5e981b0c7dac25760ba3a0e7184e
child 808786 3cb1aa3a82b6ff1e747654291861a79b9c994f63
push id113488
push userbgrinstead@mozilla.com
push dateWed, 20 Jun 2018 18:13:12 +0000
bugs1469902
milestone62.0a1
Bug 1469902 - Remove the tab-base binding MozReview-Commit-ID: 2l9v45NnOV5
toolkit/content/components.css
toolkit/content/widgets/tabbox.xml
--- 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;