Bug 1583316 - Fix CSS broken by un-blockification of display: -moz-box in bug 1580012. r=mkmelin
authorRichard Marti <richard.marti@gmail.com>
Mon, 23 Sep 2019 22:03:08 +0200
changeset 36918 8b63311aafa97d5b7a822510c00134bd1f0fd3f4
parent 36917 7e7de17ddcc057f3aef571c2bb0a92eb874bd84d
child 36919 c4e121fd5c05d38752571c3fc439b13be8331dda
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersmkmelin
bugs1583316, 1580012
Bug 1583316 - Fix CSS broken by un-blockification of display: -moz-box in bug 1580012. r=mkmelin
calendar/base/themes/common/calendar-views.css
mail/base/content/glodaFacetView.css
mail/base/content/messenger.css
mail/base/content/sharedsummary.css
mail/themes/linux/mail/messageBody.css
mail/themes/linux/mail/messageHeader.css
mail/themes/osx/mail/messageBody.css
mail/themes/osx/mail/messageHeader.css
mail/themes/shared/customizableui/panelUI.css
mail/themes/shared/mail/messageHeader.css
mail/themes/windows/mail/messageBody.css
mail/themes/windows/mail/messageHeader.css
mailnews/db/gloda/content/glodacomplete.css
--- a/calendar/base/themes/common/calendar-views.css
+++ b/calendar/base/themes/common/calendar-views.css
@@ -435,16 +435,17 @@ calendar-header-container[weekend="true"
     margin-bottom: -1px;
     border-left: 2px solid red;
     opacity: 0.7;
 }
 
 .timeIndicator-timeBar {
     background-color: red;
     position: absolute;
+    display: block;
     border-radius: 2px;
 }
 
 .timeIndicator-timeBar[orient="vertical"] {
     margin-top: -1px;
     height: 4px;
     width: 8px;
     right: 0px;
--- a/mail/base/content/glodaFacetView.css
+++ b/mail/base/content/glodaFacetView.css
@@ -49,16 +49,17 @@ body {
   margin-inline-end: 1em;
   max-width: 40em;
   display: flex;
   flex-direction: column;
 }
 
 .popup-menu {
   position: absolute;
+  display: block;
   z-index: 100;
   overflow: hidden;
   border: 1px solid var(--popupBorder);
   background-color: var(--popupColor);
   box-shadow: 0 0 4px hsla(210, 4%, 10%, .2);
 }
 
 .popup-menuitem {
@@ -399,16 +400,17 @@ html[dir="rtl"] .bar-count {
   z-index: 2;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
 }
 
 .bar-count {
   position: absolute;
+  display: block;
   right: 3px;
   margin-inline-end: 1.5em;
   line-height: 1.6em;
   color: GrayText;
 }
 
 html[dir="rtl"] .bar-link {
   padding: 0.3em 0.5em 0.3em 2em;
--- a/mail/base/content/messenger.css
+++ b/mail/base/content/messenger.css
@@ -195,16 +195,17 @@ toolbar[type="menubar"][autohide="true"]
     list-style-image: var(--webextension-menuitem-image-2x, inherit) !important;
   }
 }
 
 /* Status panel */
 
 statuspanel {
   position: fixed;
+  display: block;
   margin-top: -3em;
   left: 0;
   z-index: 20;
   max-width: 50%;
   transition: opacity 100ms ease-out;
 }
 
 statuspanel:-moz-locale-dir(ltr)[mirror],
--- a/mail/base/content/sharedsummary.css
+++ b/mail/base/content/sharedsummary.css
@@ -36,16 +36,17 @@ body {
   margin: 0;
   padding: 0;
   background-color: var(--body-background-color);
   color: var(--body-text-color);
 }
 
 #heading_wrapper {
   position: fixed;
+  display: block;
   top: 0;
   width: -moz-available;
   color: var(--head-text-color);
   background-color: var(--header-background-color);
 }
 
 #heading {
   padding: 1ex 0 1ex 1ex;
--- a/mail/themes/linux/mail/messageBody.css
+++ b/mail/themes/linux/mail/messageBody.css
@@ -138,16 +138,17 @@ img[overflowing][shrinktofit] {
 
 .moz-vcard-badge:focus {
   outline: none;
 }
 
 /* Old style feeds, pre Tb3.0 */
 #_mailrssiframe {
   position: fixed;
+  display: block;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border: none;
 }
 
 /* Attachment display styling (for inline attachments and printing) */
--- a/mail/themes/linux/mail/messageHeader.css
+++ b/mail/themes/linux/mail/messageHeader.css
@@ -279,11 +279,10 @@ mail-headerfield.headerValue:focus {
   list-style-image: url("chrome://messenger/skin/icons/archive.svg");
 }
 
 .hdrTrashButton > .button-box > .button-icon {
   list-style-image: url("chrome://messenger/skin/icons/tag.svg");
 }
 
 #header-view-toolbox {
-  float: right;
   padding-top: 2px;
 }
--- a/mail/themes/osx/mail/messageBody.css
+++ b/mail/themes/osx/mail/messageBody.css
@@ -139,16 +139,17 @@ img[overflowing][shrinktofit] {
 
 .moz-vcard-badge:focus {
   outline: none;
 }
 
 /* Old style feeds, pre Tb3.0 */
 #_mailrssiframe {
   position: fixed;
+  display: block;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border: none;
 }
 
 /* Attachment display styling (for inline attachments and printing) */
--- a/mail/themes/osx/mail/messageHeader.css
+++ b/mail/themes/osx/mail/messageHeader.css
@@ -358,11 +358,10 @@ mail-emailaddress[selected="true"] > .em
 .emailToggleHeaderfield {
   margin-inline-end: 3px;
   margin-inline-start: 1px;
 }
 
 /* ::::: collapsed view styles ::::: */
 
 #header-view-toolbox {
-  float: right;
   padding-top: 3px;
 }
--- a/mail/themes/shared/customizableui/panelUI.css
+++ b/mail/themes/shared/customizableui/panelUI.css
@@ -199,16 +199,17 @@ panelview {
 
 /* Don't show the checkmark if there is a description */
 #confirmation-hint.with-description #confirmation-hint-checkmark-animation-container  {
   display: none;
 }
 
 #confirmation-hint-checkmark-animation-container[animate] > #confirmation-hint-checkmark-image {
   position: absolute;
+  display: block;
   background-image: url(chrome://browser/skin/check-animation.svg);
   background-repeat: no-repeat;
   min-width: 266px;
   max-width: 266px;
   min-height: 14px;
   max-height: 14px;
   animation-name: confirmation-hint-checkmark-animation;
   animation-duration: 300ms;
--- a/mail/themes/shared/mail/messageHeader.css
+++ b/mail/themes/shared/mail/messageHeader.css
@@ -52,16 +52,21 @@
 }
 
 #expandedHeadersTopBox {
   /* Use the HTML layout model to allow the message header toolbar to float to
      the right of the From field. */
   display: block;
 }
 
+#header-view-toolbox {
+  float: right;
+  display: block;
+}
+
 /* ::::: expanded header pane ::::: */
 
 #expandedsubjectBox {
   font-weight: bold;
 }
 
 /* ::::: attachment view ::::: */
 
--- a/mail/themes/windows/mail/messageBody.css
+++ b/mail/themes/windows/mail/messageBody.css
@@ -138,16 +138,17 @@ img[overflowing][shrinktofit] {
 
 .moz-vcard-badge:focus {
   outline: none;
 }
 
 /* Old style feeds, pre Tb3.0 */
 #_mailrssiframe {
   position: fixed;
+  display: block;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border: none;
 }
 
 /* Attachment display styling (for inline attachments and printing) */
--- a/mail/themes/windows/mail/messageHeader.css
+++ b/mail/themes/windows/mail/messageHeader.css
@@ -192,20 +192,16 @@ mail-headerfield.headerValue:focus {
 
 .emailPopup {
   font-size: inherit;
   max-height: 7px; /* the height of the image */
   margin: 0.2em 2px 0; /* 0.2em just to move it off the top of the text */
   list-style-image: url("chrome://messenger/skin/icons/arrow-dn-grey.png");
 }
 
-#header-view-toolbox {
-  float: right;
-}
-
 #attachmentView,
 #attachmentList {
   border-top: 1px solid #a9b7c9; /* The same color as the splitters */
 }
 
 @media (-moz-windows-default-theme: 0) {
   #displayDeck[collapsed="true"] + splitter + #messagepaneboxwrapper
   .main-header-area {
--- a/mailnews/db/gloda/content/glodacomplete.css
+++ b/mailnews/db/gloda/content/glodacomplete.css
@@ -40,34 +40,13 @@ span.ac-emphasize-text {
   color: white;
 }
 
 .parameters {
   font-style: italic;
   margin-inline-start: 1em;
 }
 
-.autocomplete-richlistitem[type="gloda-single-tag"] {
-  overflow: -moz-hidden-unscrollable;
-}
-
-.autocomplete-richlistitem[type="gloda-single-identity"] {
-  -moz-box-orient: vertical;
-  overflow: -moz-hidden-unscrollable;
-}
-
-.autocomplete-richlistitem[type="gloda-fulltext-single"] {
+/* Match type gloda-single-tag, gloda-single-identity, gloda-fulltext-single,
+   gloda-fulltext-all, gloda-contact-chunk and gloda-multi */
+.autocomplete-richlistitem[type^="gloda"] {
   overflow: -moz-hidden-unscrollable;
 }
-
-.autocomplete-richlistitem[type="gloda-fulltext-all"] {
-  overflow: -moz-hidden-unscrollable;
-}
-
-richlistitem[type="gloda-contact-chunk"] {
-  -moz-box-orient: vertical;
-  overflow: -moz-hidden-unscrollable;
-}
-
-.autocomplete-richlistitem[type="gloda-multi"] {
-  -moz-box-orient: vertical;
-  overflow: -moz-hidden-unscrollable;
-}