Bug 612234 Part 4: Fix fg color of menu in open state r=dao a=blocking-2.0
authorGinn Chen <ginn.chen@oracle.com>
Tue, 30 Nov 2010 14:39:35 +0800
changeset 58365 837d7b346a647b21005963738eb49f848141e0d9
parent 58364 b0f8b6159c8159eac78ab72ab48c92f25acbcbe3
child 58366 d1fe7786e33bf4756e5bf46ebcd73b88e3a49f7b
push id17265
push userginn.chen@sun.com
push dateTue, 30 Nov 2010 06:45:46 +0000
treeherdermozilla-central@837d7b346a64 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, blocking-2.0
bugs612234
milestone2.0b8pre
first release with
nightly linux32
837d7b346a64 / 4.0b8pre / 20101130030317 / files
nightly linux64
837d7b346a64 / 4.0b8pre / 20101130030317 / files
nightly mac
837d7b346a64 / 4.0b8pre / 20101130030317 / files
nightly win32
837d7b346a64 / 4.0b8pre / 20101130030317 / files
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 612234 Part 4: Fix fg color of menu in open state r=dao a=blocking-2.0
toolkit/themes/gnomestripe/global/menu.css
--- a/toolkit/themes/gnomestripe/global/menu.css
+++ b/toolkit/themes/gnomestripe/global/menu.css
@@ -81,17 +81,17 @@ menubar:-moz-lwtheme > menu {
   text-shadow: none;
 }
 
 menubar:-moz-lwtheme > menu:not([open="true"]) {
   color: inherit;
   text-shadow: inherit;
 }
 
-menubar > menu[_moz-menuactive="true"]:not([disabled="true"]) {
+menubar > menu[_moz-menuactive="true"]:not([open]):not([disabled="true"]):not(:-moz-lwtheme) {
   color: -moz-menubartext;
 }
 
 menubar > menu[open] {
   color: -moz-menubarhovertext;
   background-color: -moz-menuhover;
 }
 menuitem.spell-suggestion {