From 623e4811c2bb75dc422459bd1f8f0b1c2c2a986b Mon Sep 17 00:00:00 2001 From: Richard Marti Date: Mon, 23 Sep 2019 22:03:08 +0200 Subject: [PATCH] Bug 1583316 - Fix CSS broken by un-blockification of display: -moz-box in bug 1580012. r=mkmelin --- .../base/themes/common/calendar-views.css | 1 + mail/base/content/glodaFacetView.css | 2 ++ mail/base/content/messenger.css | 1 + mail/base/content/sharedsummary.css | 1 + mail/themes/linux/mail/messageBody.css | 1 + mail/themes/linux/mail/messageHeader.css | 1 - mail/themes/osx/mail/messageBody.css | 1 + mail/themes/osx/mail/messageHeader.css | 1 - mail/themes/shared/customizableui/panelUI.css | 1 + mail/themes/shared/mail/messageHeader.css | 5 ++++ mail/themes/windows/mail/messageBody.css | 1 + mail/themes/windows/mail/messageHeader.css | 4 --- mailnews/db/gloda/content/glodacomplete.css | 27 +++---------------- 13 files changed, 17 insertions(+), 30 deletions(-) diff --git a/calendar/base/themes/common/calendar-views.css b/calendar/base/themes/common/calendar-views.css index a04a11f9d4..ab3de7c962 100644 --- a/calendar/base/themes/common/calendar-views.css +++ b/calendar/base/themes/common/calendar-views.css @@ -440,6 +440,7 @@ calendar-header-container[weekend="true"][selected="true"], .timeIndicator-timeBar { background-color: red; position: absolute; + display: block; border-radius: 2px; } diff --git a/mail/base/content/glodaFacetView.css b/mail/base/content/glodaFacetView.css index 80ed4b973b..242a23b2ef 100644 --- a/mail/base/content/glodaFacetView.css +++ b/mail/base/content/glodaFacetView.css @@ -54,6 +54,7 @@ body { .popup-menu { position: absolute; + display: block; z-index: 100; overflow: hidden; border: 1px solid var(--popupBorder); @@ -404,6 +405,7 @@ html[dir="rtl"] .bar-count { .bar-count { position: absolute; + display: block; right: 3px; margin-inline-end: 1.5em; line-height: 1.6em; diff --git a/mail/base/content/messenger.css b/mail/base/content/messenger.css index 7ca0ddf8e2..4069ffbaf1 100644 --- a/mail/base/content/messenger.css +++ b/mail/base/content/messenger.css @@ -200,6 +200,7 @@ toolbar[type="menubar"][autohide="true"][inactive="true"]:not([customizing="true statuspanel { position: fixed; + display: block; margin-top: -3em; left: 0; z-index: 20; diff --git a/mail/base/content/sharedsummary.css b/mail/base/content/sharedsummary.css index bf6eb5bfa6..fce2d5f511 100644 --- a/mail/base/content/sharedsummary.css +++ b/mail/base/content/sharedsummary.css @@ -41,6 +41,7 @@ body { #heading_wrapper { position: fixed; + display: block; top: 0; width: -moz-available; color: var(--head-text-color); diff --git a/mail/themes/linux/mail/messageBody.css b/mail/themes/linux/mail/messageBody.css index 1df8aa1e1c..2a8da6d5e1 100644 --- a/mail/themes/linux/mail/messageBody.css +++ b/mail/themes/linux/mail/messageBody.css @@ -143,6 +143,7 @@ img[overflowing][shrinktofit] { /* Old style feeds, pre Tb3.0 */ #_mailrssiframe { position: fixed; + display: block; top: 0; left: 0; width: 100%; diff --git a/mail/themes/linux/mail/messageHeader.css b/mail/themes/linux/mail/messageHeader.css index da17b2d464..aa67d38468 100644 --- a/mail/themes/linux/mail/messageHeader.css +++ b/mail/themes/linux/mail/messageHeader.css @@ -284,6 +284,5 @@ mail-headerfield.headerValue:focus { } #header-view-toolbox { - float: right; padding-top: 2px; } diff --git a/mail/themes/osx/mail/messageBody.css b/mail/themes/osx/mail/messageBody.css index 5c433b16d1..8f59a51422 100644 --- a/mail/themes/osx/mail/messageBody.css +++ b/mail/themes/osx/mail/messageBody.css @@ -144,6 +144,7 @@ img[overflowing][shrinktofit] { /* Old style feeds, pre Tb3.0 */ #_mailrssiframe { position: fixed; + display: block; top: 0; left: 0; width: 100%; diff --git a/mail/themes/osx/mail/messageHeader.css b/mail/themes/osx/mail/messageHeader.css index 4ccc786d9f..94789c7fbf 100644 --- a/mail/themes/osx/mail/messageHeader.css +++ b/mail/themes/osx/mail/messageHeader.css @@ -363,6 +363,5 @@ mail-emailaddress[selected="true"] > .emailDisplayButton { /* ::::: collapsed view styles ::::: */ #header-view-toolbox { - float: right; padding-top: 3px; } diff --git a/mail/themes/shared/customizableui/panelUI.css b/mail/themes/shared/customizableui/panelUI.css index d3ea74ac86..30c722a738 100644 --- a/mail/themes/shared/customizableui/panelUI.css +++ b/mail/themes/shared/customizableui/panelUI.css @@ -204,6 +204,7 @@ panelview { #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; diff --git a/mail/themes/shared/mail/messageHeader.css b/mail/themes/shared/mail/messageHeader.css index 50640b075f..68ee8dae74 100644 --- a/mail/themes/shared/mail/messageHeader.css +++ b/mail/themes/shared/mail/messageHeader.css @@ -57,6 +57,11 @@ display: block; } +#header-view-toolbox { + float: right; + display: block; +} + /* ::::: expanded header pane ::::: */ #expandedsubjectBox { diff --git a/mail/themes/windows/mail/messageBody.css b/mail/themes/windows/mail/messageBody.css index 1df8aa1e1c..2a8da6d5e1 100644 --- a/mail/themes/windows/mail/messageBody.css +++ b/mail/themes/windows/mail/messageBody.css @@ -143,6 +143,7 @@ img[overflowing][shrinktofit] { /* Old style feeds, pre Tb3.0 */ #_mailrssiframe { position: fixed; + display: block; top: 0; left: 0; width: 100%; diff --git a/mail/themes/windows/mail/messageHeader.css b/mail/themes/windows/mail/messageHeader.css index 8552fdd28b..76b54f31d1 100644 --- a/mail/themes/windows/mail/messageHeader.css +++ b/mail/themes/windows/mail/messageHeader.css @@ -197,10 +197,6 @@ mail-headerfield.headerValue:focus { 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 */ diff --git a/mailnews/db/gloda/content/glodacomplete.css b/mailnews/db/gloda/content/glodacomplete.css index a5bb860f2b..c9accaf005 100644 --- a/mailnews/db/gloda/content/glodacomplete.css +++ b/mailnews/db/gloda/content/glodacomplete.css @@ -45,29 +45,8 @@ span.ac-emphasize-text { 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"] { - 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; +/* 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; }