Bug 1483153 - Let menulist popups inherit the font from their menulist parent. r=stefanh
authorDão Gottwald <dao@mozilla.com>
Tue, 14 Aug 2018 10:55:00 +0200
changeset 431472 1197612113fc404526166f19045ae7127ac7b2a7
parent 431471 dc2b23ed78c70e50c44c6c1f9a07a8864647ecca
child 431473 8e3582b4162117fb0e721b474133c2f97b7b53da
push id106459
push userapavel@mozilla.com
push dateTue, 14 Aug 2018 16:21:53 +0000
treeherdermozilla-inbound@1197612113fc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersstefanh
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=stefanh
toolkit/themes/osx/global/menu.css
--- a/toolkit/themes/osx/global/menu.css
+++ b/toolkit/themes/osx/global/menu.css
@@ -132,16 +132,20 @@ menuitem[_moz-menuactive="true"] {
 menuitem[customoptionstyling="true"] {
   -moz-appearance: none;
   padding-top: 0;
   padding-bottom: 0;
 }
 
 /* ::::: menu/menuitems in menulist popups ::::: */
 
+menulist > menupopup {
+  font: inherit;
+}
+
 menulist > menupopup > menuitem,
 menulist > menupopup > menucaption,
 menulist > menupopup > menu {
   max-width: none;
   color: -moz-FieldText;
 }
 
 /* ::::: menuitems in editable menulist popups ::::: */