Bug 1468645 - Set active menu bar item color to -moz-menuhovertext instead of -moz-menubarhovertext since we've not using -moz-appearance:menuitem anymore. r=Felipe, a=lizzard
authorDão Gottwald <dao@mozilla.com>
Fri, 27 Jul 2018 13:17:26 +0200
changeset 480821 34af42d33444e30c9f616e159cae7d2cd71eeffa
parent 480820 32b73599ce1516d3f808b1082a59cab3b962458d
child 480822 8e02ffa9353b7c2ce3bb43bf97f2cf269b3fbe5c
push id1757
push userffxbld-merge
push dateFri, 24 Aug 2018 17:02:43 +0000
treeherdermozilla-release@736023aebdb1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFelipe, lizzard
bugs1468645
milestone62.0
Bug 1468645 - Set active menu bar item color to -moz-menuhovertext instead of -moz-menubarhovertext since we've not using -moz-appearance:menuitem anymore. r=Felipe, a=lizzard MozReview-Commit-ID: EaVa7MJVXD3
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -88,20 +88,22 @@
 }
 
 #main-menubar {
   -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
 }
 
 #main-menubar > menu {
   -moz-appearance: none;
+  color: inherit;
 }
 
-#main-menubar > menu:not([_moz-menuactive="true"]) {
-  color: inherit;
+#main-menubar > menu[_moz-menuactive="true"] {
+  background-color: -moz-menuhover;
+  color: -moz-menuhovertext;
 }
 
 /* Use a different color only on Windows 8 and higher in inactive windows.
  * On Win 7, the menubar fog disappears for inactive windows, and renders gray
  * illegible.
  */
 @media (-moz-windows-default-theme) {
   @media not all and (-moz-os-version: windows-win7) {