Bug 467618 - Remove tabbbrowser-tab binding in tabbrowser.xml. r=Mnyromyr, sr=Neil.
authorstefanh@inbox.com
Tue, 16 Dec 2008 17:46:13 +0100
changeset 1432 74163a6a6316819726a5ccab00aff7ceff2797a4
parent 1431 39a9b1c5412ad4ae35cc195e43397640e05ea97e
child 1433 2fd550b6f62fa64a101e3cdddb8743aecc7b95e8
push idunknown
push userunknown
push dateunknown
reviewersMnyromyr, Neil
bugs467618
Bug 467618 - Remove tabbbrowser-tab binding in tabbrowser.xml. r=Mnyromyr, sr=Neil.
suite/browser/navigator.css
suite/browser/tabbrowser.xml
suite/themes/classic/navigator/mac/tabbrowser.css
--- a/suite/browser/navigator.css
+++ b/suite/browser/navigator.css
@@ -9,20 +9,16 @@
 tabbrowser {
   -moz-binding: url("chrome://navigator/content/tabbrowser.xml#tabbrowser");
 }
 
 .tabbrowser-tabs {
   -moz-binding: url("chrome://navigator/content/tabbrowser.xml#tabbrowser-tabs");
 }
 
-.tabbrowser-tabs > .tabbrowser-tab {
-  -moz-binding: url("chrome://navigator/content/tabbrowser.xml#tabbrowser-tab");
-}
-
 .tabs-closebutton-box > .tabs-closebutton {
   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
 }
 
 /* ::::: urlbar autocomplete ::::: */
 
 #urlbar {
   -moz-binding: url("chrome://navigator/content/urlbarBindings.xml#urlbar");
--- a/suite/browser/tabbrowser.xml
+++ b/suite/browser/tabbrowser.xml
@@ -2334,25 +2334,9 @@
               </xul:hbox>
             </xul:stack>
           </xul:hbox>
           <xul:spacer class="tabs-bottom-spacer"/>
         </xul:vbox>
       </xul:stack>
     </content>
   </binding>
-
-  <binding id="tabbrowser-tab"
-           extends="chrome://global/content/bindings/tabbox.xml#tab">
-    <resources>
-      <stylesheet src="chrome://navigator/skin/tabbrowser.css"/>
-    </resources>
-
-    <content>
-      <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" xbl:inherits="selected"/>
-    </content>
-  </binding>
 </bindings>
--- a/suite/themes/classic/navigator/mac/tabbrowser.css
+++ b/suite/themes/classic/navigator/mac/tabbrowser.css
@@ -55,21 +55,21 @@ tabpanels {
 .tabbrowser-tab[chromedir="rtl"] {
   -moz-border-left-colors: transparent rgba(0, 0, 0, 0.19);
 }
 
 .tabbrowser-tab:not(:first-child) {
   -moz-margin-start: -3px;
 }
 
-.tab-image-middle {
+.tab-middle {
   padding: 4px 7px;
 }
 
-.tabbrowser-tab:hover > .tab-image-middle {
+.tabbrowser-tab:hover > .tab-middle {
   background-color: rgba(0, 0, 0, 0.1);
 }
 
 .tabbrowser-tab[busy] {
   list-style-image: url("chrome://global/skin/icons/loading_16.png");
 }
 
 .tabbrowser-tab[selected="true"] {
@@ -83,17 +83,17 @@ tabpanels {
 }
 
 .tabbrowser-tab:focus {
   outline: 2px solid -moz-mac-focusring;
   outline-offset: -2px;
   -moz-outline-radius: 5px;
 }
 
-.tab-image-middle[selected="true"] {
+.tab-middle[selected="true"] {
   padding: 1px 7px 4px;
   -moz-appearance: dialog;
 }
 
 .tabbrowser-tab[beforeselected="true"]:not([chromedir="rtl"]) {
   -moz-border-right-colors: transparent transparent;
 }