diff --git a/toolkit/content/widgets/tabbrowser.xml b/toolkit/content/widgets/tabbrowser.xml index cc9405ab1147..23e761e402bf 100644 --- a/toolkit/content/widgets/tabbrowser.xml +++ b/toolkit/content/widgets/tabbrowser.xml @@ -25,6 +25,7 @@ - Mike Connor - Peter Parente - Giorgio Maone + - Asaf Romano - - Alternatively, the contents of this file may be used under the terms of - either the GNU General Public License Version 2 or later (the "GPL"), or @@ -194,6 +195,10 @@ null + + false + + @@ -1456,7 +1461,8 @@ - + @@ -2580,6 +2584,51 @@ + + + + + + // for the one-close-button case + event.stopPropagation(); + + + + - - - .tabbrowser-tab > .tab-close-button, +.tabs-closebutton-box > .tabs-closebutton { + -moz-binding: url("chrome://global/content/bindings/tabbrowser.xml#tabbrowser-close-tab-button"); +} + .tab-close-button { display: none; } @@ -639,10 +644,6 @@ tab { display: none; } -.tabs-closebutton-box > .tab-close-button { - display: -moz-box; -} - .tabbrowser-tabs[disablebackgroundclose="true"] > .tabbrowser-tab:not([selected="true"]) > .tab-close-button { display: none; } diff --git a/toolkit/themes/pinstripe/global/globalBindings.xml b/toolkit/themes/pinstripe/global/globalBindings.xml index 4d7a60c06d49..0833cd64ac05 100644 --- a/toolkit/themes/pinstripe/global/globalBindings.xml +++ b/toolkit/themes/pinstripe/global/globalBindings.xml @@ -63,9 +63,7 @@ - +