Bug 1191966 part 2 - Avoid adding margin-top on tabs toolbar when in fullscreen mode. r=dao
authorXidorn Quan <me@upsuper.org>
Mon, 23 May 2016 14:24:36 +1000
changeset 299376 ef5addc3db7d60f63d9880da296f6eebbc160535
parent 299375 af0b7a2ad92ac7c886866ae4eb6efe1654b7af6c
child 299377 e5f2ab6acef01c1c195364b7a23d654685634190
push id77547
push userkwierso@gmail.com
push dateFri, 27 May 2016 21:43:34 +0000
treeherdermozilla-inbound@5c73a69cb9eb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1191966
milestone49.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 1191966 part 2 - Avoid adding margin-top on tabs toolbar when in fullscreen mode. r=dao MozReview-Commit-ID: GU0CsOufvKE
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -86,18 +86,18 @@
    are not autohiding the menubar. */
 #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
   display: none;
 }
 
 /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
    toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
    of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
-#toolbar-menubar:not([autohide=true]) ~ #TabsToolbar,
-#toolbar-menubar[autohide=true]:not([inactive]) ~ #TabsToolbar {
+#toolbar-menubar:not([autohide=true]) ~ #TabsToolbar:not([inFullscreen]),
+#toolbar-menubar[autohide=true]:not([inactive]) ~ #TabsToolbar:not([inFullscreen]) {
   margin-top: 3px;
 }
 
 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
   margin-top: var(--space-above-tabbar);
 }