Bug 1499435 - Fix customization of menubar. r=aceman
authorRichard Marti <richard.marti@gmail.com>
Wed, 17 Oct 2018 17:22:52 +0200
changeset 33395 ba6de8f2e729d721f36b8379eaf3bbabb96fd982
parent 33394 9348dfd44e19fa573eab407d3ddce174c03e2a7f
child 33396 6482582d97bf02583e76259899771454a1606645
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersaceman
bugs1499435
Bug 1499435 - Fix customization of menubar. r=aceman Use our toolbar[type="menubar"]:not([autohide="true"]) and not the toolkit one.
mail/base/content/bindings.css
--- a/mail/base/content/bindings.css
+++ b/mail/base/content/bindings.css
@@ -13,17 +13,17 @@ toolbox {
   -moz-binding: url("chrome://messenger/content/toolbar.xml#toolbox");
 }
 
 toolbar {
   -moz-binding: url("chrome://messenger/content/toolbar.xml#toolbar");
 }
 
 @media (-moz-menubar-drag) {
-  toolbar[type="menubar"]:not([autohide="true"]) {
+  toolbox > toolbar[type="menubar"]:not([autohide="true"]) {
     -moz-binding: url("chrome://messenger/content/toolbar.xml#toolbar-drag");
   }
 }
 
 %ifndef XP_MACOSX
 toolbar[type="menubar"][autohide="true"] {
   -moz-binding: url("chrome://messenger/content/toolbar.xml#toolbar-menubar-autohide");
 }