Bug 574821 - Add titlebar margin to browser-aero css for maximized windows - addresses issue with negative window origins on windows. r=Dao.
authorJim Mathies <jmathies@mozilla.com>
Mon, 28 Jun 2010 01:03:47 -0500
changeset 46333 c08b45310a1c
parent 46332 84009c09f1b9
child 46334 48980abe7a46
push id14132
push userjmathies@mozilla.com
push dateMon, 28 Jun 2010 06:04:49 +0000
treeherdermozilla-central@f0c025ec62c9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersDao
bugs574821
milestone1.9.3a6pre
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 574821 - Add titlebar margin to browser-aero css for maximized windows - addresses issue with negative window origins on windows. r=Dao.
browser/themes/winstripe/browser/browser-aero.css
--- a/browser/themes/winstripe/browser/browser-aero.css
+++ b/browser/themes/winstripe/browser/browser-aero.css
@@ -19,16 +19,21 @@
 }
 
 @media all and (-moz-windows-compositor) {
   #main-window:not(:-moz-lwtheme) {
     -moz-appearance: -moz-win-glass;
     background: transparent;
   }
 
+  /* the new titlebar requires this, or content will be clipped at the top of the screen. */
+  #main-window[sizemode="maximized"] {
+    margin-top: 8px;
+  }
+
   #main-window:not(:-moz-lwtheme)[inFullscreen="true"] {
     -moz-appearance: none;
     background-color: #556;
   }
 
   #toolbar-menubar:not(:-moz-lwtheme),
   #navigator-toolbox[tabsontop="true"] > #TabsToolbar:not(:-moz-lwtheme),
   #navigator-toolbox:not([tabsontop="true"]) > #nav-bar:not(:-moz-lwtheme),