Bug 1483153 - Let menulist popups inherit the font from their menulist parent. r=felipe
☠☠ backed out by 88f6a8a83549 ☠ ☠
authorDão Gottwald <dao@mozilla.com>
Fri, 24 Aug 2018 16:40:06 +0200
changeset 491830 fb2c0eb9ad707ed11f05e7159ba3a132ead10879
parent 491800 fe26ccb3ec3b981c2321951df210402a6f58bff8
child 491831 4e8684ce7609bfb45570b0eaa2b9e89efc487fc7
push id1815
push userffxbld-merge
push dateMon, 15 Oct 2018 10:40:45 +0000
treeherdermozilla-release@18d4c09e9378 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfelipe
bugs1483153
milestone63.0a1
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 1483153 - Let menulist popups inherit the font from their menulist parent. r=felipe
toolkit/themes/linux/global/menu.css
toolkit/themes/windows/global/menu.css
--- a/toolkit/themes/linux/global/menu.css
+++ b/toolkit/themes/linux/global/menu.css
@@ -75,17 +75,17 @@ menuitem[default="true"],
 menuitem.spell-suggestion,
 menucaption {
   font-weight: bold;
 }
 
 /* ::::: menu/menuitems in menulist popups ::::: */
 
 menulist > menupopup {
-  font: message-box;
+  font: inherit;
 }
 
 menulist > menupopup > menuitem,
 menulist > menupopup > menucaption,
 menulist > menupopup > menu {
   padding: 1px 5px;
   max-width: none;
 }
--- a/toolkit/themes/windows/global/menu.css
+++ b/toolkit/themes/windows/global/menu.css
@@ -165,17 +165,17 @@ menu[_moz-menuactive="true"],
 menuitem[_moz-menuactive="true"] {
   background-color: -moz-menuhover;
   color: -moz-menuhovertext;
 }
 
 /* ::::: menu/menuitems in menulist popups ::::: */
 
 menulist > menupopup {
-  font: message-box;
+  font: inherit;
 }
 
 menulist > menupopup > menuitem,
 menulist > menupopup > menucaption,
 menulist > menupopup > menu {
   -moz-appearance: none !important;
   border: 1px solid transparent;
   padding-inline-start: 5px;