Bug 617578 Except on OS/2, non-customisable menubars don't display correctly when a lightweight theme is applied r=dao a=beltzner
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Thu, 20 Jan 2011 08:35:42 +0000
changeset 60924 0fd17aea04a0458bd636071c0810f21735b845d0
parent 60923 2e8b3179b204581560131a24ae9554424f17e948
child 60925 97a40e139df62fb0f1d6db0ffbd3d1d73d2a17fa
push id18166
push userneil@parkwaycc.co.uk
push dateThu, 20 Jan 2011 08:36:07 +0000
treeherdermozilla-central@0fd17aea04a0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, beltzner
bugs617578
milestone2.0b10pre
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 617578 Except on OS/2, non-customisable menubars don't display correctly when a lightweight theme is applied r=dao a=beltzner
toolkit/themes/gnomestripe/global/toolbar.css
toolkit/themes/pinstripe/global/toolbar.css
toolkit/themes/winstripe/global/toolbar.css
--- a/toolkit/themes/gnomestripe/global/toolbar.css
+++ b/toolkit/themes/gnomestripe/global/toolbar.css
@@ -59,16 +59,17 @@ toolbar {
 
 menubar, toolbar[type="menubar"] {
   -moz-appearance: menubar;
   min-width: 1px;
   min-height: 20px;
   padding: 1px 0px;
 }
 
+menubar:-moz-lwtheme,
 toolbar:-moz-lwtheme {
   -moz-appearance: none;
 }
 
 /* in browser.xul, the menubar is inside a toolbar... */
 toolbaritem > menubar {
   -moz-appearance: none;
 }
--- a/toolkit/themes/pinstripe/global/toolbar.css
+++ b/toolkit/themes/pinstripe/global/toolbar.css
@@ -40,16 +40,17 @@
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 toolbar {
   min-width: 1px;
   min-height: 20px;
   -moz-appearance: toolbar;
 }
 
+menubar:-moz-lwtheme,
 toolbar:-moz-lwtheme {
   -moz-appearance: none;
   background: none;
   border-style: none;
 }
 
 menubar {
   -moz-appearance: dialog; /* For content menubars, "toolbar" is too dark, so we use "dialog". */
--- a/toolkit/themes/winstripe/global/toolbar.css
+++ b/toolkit/themes/winstripe/global/toolbar.css
@@ -69,16 +69,17 @@ toolbar {
 toolbar:first-child, menubar {
   min-width: 1px;
   border-bottom: 1px solid ThreeDShadow;
   border-top: 0px !important;
 }
 
 /* ::::: lightweight theme ::::: */
  
+menubar:-moz-lwtheme,
 toolbox:-moz-lwtheme,
 toolbar:-moz-lwtheme {
   -moz-appearance: none;
   background: none;
   border-style: none;
 }
 
 /* ::::: toolbar decorations ::::: */