Bug 1391328 - Remove top border from tabs on OSX. r=nhnt11
authorJohann Hofmann <jhofmann@mozilla.com>
Thu, 17 Aug 2017 19:50:11 +0200
changeset 376066 b3c14da197758dad66578dd0478d91898b4ff696
parent 376065 56bb01d847e92544a0c9b14a21cbd3ba4ef30ce6
child 376067 7c9a5812fc16bf0594e6053dbbeb70be54366f24
push id94023
push userarchaeopteryx@coole-files.de
push dateTue, 22 Aug 2017 09:51:45 +0000
treeherdermozilla-inbound@2b5a763e1ccd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnhnt11
bugs1391328
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1391328 - Remove top border from tabs on OSX. r=nhnt11 MozReview-Commit-ID: B2dmIlJLM2j
browser/themes/shared/tabs.inc.css
--- a/browser/themes/shared/tabs.inc.css
+++ b/browser/themes/shared/tabs.inc.css
@@ -303,19 +303,21 @@
 
 /* Selected tab */
 
 .tab-background {
   border: 1px none transparent;
   background-clip: padding-box;
 }
 
+%ifdef MENUBAR_CAN_AUTOHIDE
 #toolbar-menubar:not([autohide=true]) ~ #TabsToolbar > #tabbrowser-tabs > .tabbrowser-tab > .tab-stack > .tab-background {
   border-top-style: solid;
 }
+%endif
 
 .tab-background[selected=true] {
   border-left-style: solid;
   border-right-style: solid;
   border-color: var(--tabs-border);
   border-image: linear-gradient(var(--tabs-border),
                                 var(--tabs-border) calc(100% - 1px - var(--tab-toolbar-navbar-overlap)),
                                 transparent calc(100% - 1px - var(--tab-toolbar-navbar-overlap)));