Bug 1527551 - Restore .toolbar-focustarget in messengercompose.css after removal in bug 1484949. r=Paenglab a=jorgk
authorJorg K <jorgk@jorgk.com>
Thu, 15 Aug 2019 11:23:18 +0200
changeset 36160 510a90a516e77db9a24322b56681dbd1884032e1
parent 36159 58961ed683507cf99907e4626519d7074242df8b
child 36161 dee1c54bac6b6984ca8bb4ec84d038bf89b8f393
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersPaenglab, jorgk
bugs1527551, 1484949
Bug 1527551 - Restore .toolbar-focustarget in messengercompose.css after removal in bug 1484949. r=Paenglab a=jorgk
mail/themes/shared/mail/messengercompose.css
--- a/mail/themes/shared/mail/messengercompose.css
+++ b/mail/themes/shared/mail/messengercompose.css
@@ -369,16 +369,24 @@
 .aw-menulist:focus,
 .aw-menulist[focused="true"] {
   background: var(--toolbarbutton-active-background);
   border-color: var(--toolbarbutton-active-bordercolor);
 }
 
 /* :::: Format toolbar :::: */
 
+/*
+ * Removed from global.css in bug 1484949. It's needed so the formatting
+ * toolbar is not disabled while a dropdown (paragraph format or font) is active.
+ */
+.toolbar-focustarget {
+  -moz-user-focus: ignore !important;
+}
+
 #FormatToolbar > toolbarbutton > .toolbarbutton-text {
   display: none;
 }
 
 #FontFaceSelect {
   max-width: 35ch;
 }