Bug 1407021 - Ensure in-content button font-size is not overridden by widget styling (e.g. in forms.css). r=johannh, a=ritu
authorNihanth Subramanya <nhnt11@gmail.com>
Tue, 10 Oct 2017 00:56:55 +0530
changeset 432395 7185be26d0db4223860238d50600cffb9e1f2c00
parent 432394 9ea0df8dba2b238113abe30d7522358748a4c1f4
child 432396 469b8b2974ebdf05d58ab8589fa8107e8f2bee7f
push id7949
push userryanvm@gmail.com
push dateWed, 11 Oct 2017 20:50:43 +0000
treeherdermozilla-beta@7185be26d0db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjohannh, ritu
bugs1407021
milestone57.0
Bug 1407021 - Ensure in-content button font-size is not overridden by widget styling (e.g. in forms.css). r=johannh, a=ritu 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;
 }