Bug 1527551 - Restore .toolbar-focustarget in messengercompose.css after removal in bug 1484949. r=Paenglab DONTBUILD
authorJorg K <jorgk@jorgk.com>
Thu, 15 Aug 2019 11:23:18 +0200
changeset 27329 768ececa54d441f2a7b87676278e910ace8f10b7
parent 27328 3fcb852ddff9de955dfd3c2d6af4522def905ef4
child 27330 ecccd8455117a4377ff4727fa6ebe32c6e4849a9
push id16285
push usermozilla@jorgk.com
push dateThu, 15 Aug 2019 09:24:37 +0000
treeherdercomm-central@768ececa54d4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersPaenglab
bugs1527551, 1484949
Bug 1527551 - Restore .toolbar-focustarget in messengercompose.css after removal in bug 1484949. r=Paenglab DONTBUILD
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;
 }