Bug 1610434 - Windows 7: Hide the titlebar-placeholder when drawInTitletbar and non-autohide menu bar. r=aleca a=mkmelin
authorRichard Marti <richard.marti@gmail.com>
Sun, 26 Jan 2020 20:50:11 +0100
changeset 37021 f61f39e9e87e830b476ce6d696ccef37eeaf3c50
parent 37020 361783282f8a84f6aec382d366886966e64710b1
child 37022 58019f894ca640359219c1fdc11f88da9e3d7011
push id2548
push userthunderbird@calypsoblue.org
push dateThu, 30 Jan 2020 20:54:16 +0000
treeherdercomm-beta@f6219b04be6d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaleca, mkmelin
bugs1610434
Bug 1610434 - Windows 7: Hide the titlebar-placeholder when drawInTitletbar and non-autohide menu bar. r=aleca a=mkmelin
mail/themes/windows/mail/mailWindow1.css
--- a/mail/themes/windows/mail/mailWindow1.css
+++ b/mail/themes/windows/mail/mailWindow1.css
@@ -138,16 +138,24 @@ treechildren::-moz-tree-row(dummy, selec
 #messengerWindow[tabsintitlebar] .titlebar-placeholder[type="caption-buttons"] {
   margin-inline-start: 10px; /* additional space for Aero Snap */
 }
 
 #messengerWindow:not([tabsintitlebar]) .titlebar-placeholder {
   visibility: collapse;
 }
 
+@media (-moz-os-version: windows-win7) and (-moz-windows-glass: 0) {
+  #messengerWindow[tabsintitlebar]
+    #mail-toolbar-menubar2:not([autohide]) + #tabs-toolbar >
+    .titlebar-placeholder {
+    visibility: collapse;
+  }
+}
+
 /* Add extra space to titlebar for dragging */
 :root[sizemode="normal"] #mail-toolbar-menubar2[autohide="true"][inactive] ~ #tabs-toolbar {
   padding-top: var(--space-above-tabbar);
 }
 
 @media (-moz-windows-compositor) {
   @media (-moz-os-version: windows-win7),
          (-moz-os-version: windows-win8) {