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 257022 b4c366e105ff179bc57937ed823f08bc65dc8424
parent 257021 6509f5665152adbd8120b6801acafdf85f190e9f
child 257023 2fcd73fa8a7e713719ae9ce2c04cc6a458d7735a
push id14563
push userdgottwald@mozilla.com
push dateMon, 10 Aug 2015 12:08:37 +0000
treeherderfx-team@b4c366e105ff [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs
bugs1192604
milestone42.0a1
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) {