Bug 1407021 - Ensure in-content button font-size is not overridden by widget styling (e.g. in forms.css). r=johannh
authorNihanth Subramanya <nhnt11@gmail.com>
Tue, 10 Oct 2017 00:56:55 +0530
changeset 385300 61aeae25af583b6d1b2a4c4723765e1132fe8fda
parent 385299 9ffdf501b79961a39d905ca047a4dbe0c3d3f815
child 385301 069a976024ce72bd315eed746332d0557d5f75c7
push id32652
push userarchaeopteryx@coole-files.de
push dateTue, 10 Oct 2017 21:49:31 +0000
treeherdermozilla-central@f1ecd5c26948 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjohannh
bugs1407021
milestone58.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 1407021 - Ensure in-content button font-size is not overridden by widget styling (e.g. in forms.css). r=johannh MozReview-Commit-ID: 2CRNOWClWmZ
toolkit/themes/shared/in-content/common.inc.css
--- a/toolkit/themes/shared/in-content/common.inc.css
+++ b/toolkit/themes/shared/in-content/common.inc.css
@@ -188,16 +188,18 @@ xul|menulist {
   border: 1px solid var(--in-content-box-border-color);
   -moz-border-top-colors: none !important;
   -moz-border-right-colors: none !important;
   -moz-border-bottom-colors: none !important;
   -moz-border-left-colors: none !important;
   border-radius: 2px;
   background-color: var(--in-content-page-background);
   margin: 4px 8px;
+  /* Ensure font-size isn't overridden by widget styling (e.g. in forms.css) */
+  font-size: 1em;
 }
 
 xul|button,
 html|button {
   /* use the same margin of other elements for the alignment */
   margin-left: 4px;
   margin-right: 4px;
 }