Bug 963590 - [Mac] Make sure lightweight themes don't affect fullscreen toolbar height/position. r=MattN, a=sledru
authorTim Chien <timdream@gmail.com>
Tue, 08 Apr 2014 03:35:00 +0200
changeset 183690 2d58340206f4
parent 183689 afdcb5d5d7cc
child 183691 44a94313968a
push id3447
push userryanvm@gmail.com
push date2014-04-09 18:07 +0000
treeherdermozilla-beta@44a94313968a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN, sledru
bugs963590
milestone29.0
Bug 963590 - [Mac] Make sure lightweight themes don't affect fullscreen toolbar height/position. r=MattN, a=sledru
browser/themes/osx/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -3854,25 +3854,24 @@ toolbarbutton.chevron > .toolbarbutton-m
 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
   border-left-style: solid;
   border-top-left-radius: .3em;
   margin-left: 1em;
 }
 
 /* Lion Fullscreen window styling */
 @media (-moz-mac-lion-theme) {
-  #navigator-toolbox[inFullscreen]:not(:-moz-lwtheme)::before {
+  #navigator-toolbox[inFullscreen]::before {
     /* Adjust by the full element height of #titlebar, since that element is
      * not displayed in native full-screen.
      * Also add the height of the tabs, since we're calculating the
      * total height of this pseudo-element, not just the top-padding. */
     height: calc(@tabHeight@ + @spaceAboveTabbar@) !important;
   }
-  #main-window[inFullscreen][privatebrowsingmode=temporary],
-  #main-window[inFullscreen]:-moz-lwtheme {
+  #main-window[inFullscreen][privatebrowsingmode=temporary] {
     /* Adjust by the full element height of #titlebar, since that element is
      * not displayed in native full-screen. */
     padding-top: @spaceAboveTabbar@;
   }
 }
 
 #full-screen-warning-message {
   background-image: url("chrome://browser/skin/fullscreen-darknoise.png");