Bug 1641514 - Add label and wrap as inherited attributes to toolbarbutton-menu-button after bug 1639925. r=mkmelin
authorRichard Marti <richard.marti@gmail.com>
Thu, 28 May 2020 19:04:31 +0300
changeset 39262 1897e9e2fecbcbbeb759c1514643f10ccc018eae
parent 39261 21be6632c2745dd08dc9e2ecd6b36ced088aa061
child 39263 26f9f28bdcccd575fb27bd0e4c5d6541904c9198
push id402
push userclokep@gmail.com
push dateMon, 29 Jun 2020 20:48:04 +0000
reviewersmkmelin
bugs1641514, 1639925
Bug 1641514 - Add label and wrap as inherited attributes to toolbarbutton-menu-button after bug 1639925. r=mkmelin
mail/base/content/toolbarbutton-menu-button.js
--- a/mail/base/content/toolbarbutton-menu-button.js
+++ b/mail/base/content/toolbarbutton-menu-button.js
@@ -17,17 +17,17 @@
    *
    * @extends MozToolbarbutton
    */
   class MozToolbarButtonMenuButton extends customElements.get("toolbarbutton") {
     static get inheritedAttributes() {
       return {
         ...super.inheritedAttributes,
         ".toolbarbutton-menubutton-button":
-          "command,hidden,disabled,align,dir,pack,orient,tooltiptext=buttontooltiptext",
+          "command,hidden,disabled,align,dir,pack,orient,label,wrap,tooltiptext=buttontooltiptext",
         ".toolbarbutton-menubutton-dropmarker": "open,disabled",
       };
     }
     static get menubuttonFragment() {
       let frag = document.importNode(
         MozXULElement.parseXULToFragment(`
           <toolbarbutton class="box-inherit toolbarbutton-menubutton-button"
                          flex="1"