Bug 1007225 - Hide titlebar-placeholder when not draw in titlebar. r=josiah,a=Standard8 CLOSED TREE
authorRichard Marti <richard.marti@gmail.com>
Wed, 07 May 2014 19:41:46 +0200
changeset 20049 583011db59035ced9fc60e38622067ee13e383d4
parent 20048 0f5384cc3148007e4152d304765ac4b4f6f81ba2
child 20050 4026cf0518c7927a53d90d25e9c4c9ee2b59ba0e
push id8
push usermbanner@mozilla.com
push dateFri, 08 Aug 2014 10:23:26 +0000
treeherdercomm-esr31@583011db5903 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjosiah, Standard8
bugs1007225
Bug 1007225 - Hide titlebar-placeholder when not draw in titlebar. r=josiah,a=Standard8 CLOSED TREE
mail/themes/osx/mail/messenger.css
--- a/mail/themes/osx/mail/messenger.css
+++ b/mail/themes/osx/mail/messenger.css
@@ -165,16 +165,20 @@ notification[value="addon-install-comple
   margin-top: 11px;
   margin-bottom: 3px;
 }
 
 #messengerWindow[tabsintitlebar="true"] #titlebar-spacer {
   pointer-events: none;
 }
 
+#messengerWindow:not([tabsintitlebar]) .titlebar-placeholder {
+  visibility: collapse;
+}
+
 /* NB: these would be -moz-margin-start/end if it wasn't for the fact that OS X
  * doesn't reverse the order of the items in the titlebar in RTL mode. */
 #messengerWindow[tabsintitlebar="true"] .titlebar-placeholder[type="caption-buttons"],
 #messengerWindow[tabsintitlebar="true"] #titlebar-buttonbox {
   margin-left: 7px;
 }
 
 @media (-moz-mac-lion-theme) {