Bug 1192604 - Use --tab-toolbar-navbar-overlap as intended on OS X. r=gijs
authorDão Gottwald <dao@mozilla.com>
Mon, 10 Aug 2015 12:39:44 +0200
changeset 291383 b4c366e105ff179bc57937ed823f08bc65dc8424
parent 291382 6509f5665152adbd8120b6801acafdf85f190e9f
child 291384 2fcd73fa8a7e713719ae9ce2c04cc6a458d7735a
push id962
push userjlund@mozilla.com
push dateFri, 04 Dec 2015 23:28:54 +0000
treeherdermozilla-release@23a2d286e80f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs
bugs1192604
milestone42.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 1192604 - Use --tab-toolbar-navbar-overlap as intended on OS X. r=gijs
browser/themes/osx/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -2634,17 +2634,18 @@ toolbarbutton.chevron > .toolbarbutton-m
 .tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-label:not([pinned]),
 .tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-icon-image[pinned],
 .tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-throbber[pinned] {
   box-shadow: @focusRingShadow@;
 }
 
 #TabsToolbar {
   -moz-appearance: none;
-  margin-bottom: -1px; /* Overlap the inner highlight at the top of the nav-bar */
+  /* overlap the nav-bar's top border */
+  margin-bottom: calc(-1 * var(--tab-toolbar-navbar-overlap));
 }
 
 #main-window:not([customizing]) #navigator-toolbox[inFullscreen] > #TabsToolbar:not(:-moz-lwtheme),
 #main-window:not(:-moz-any([customizing],[tabsintitlebar])) #navigator-toolbox > #TabsToolbar:not(:-moz-lwtheme) {
   -moz-appearance: toolbar;
 }
 
 #TabsToolbar:not(:-moz-lwtheme) {