Bug 1007225 - Hide titlebar-placeholder when not draw in titlebar. r=josiah
authorRichard Marti <richard.marti@gmail.com>
Wed, 07 May 2014 19:41:46 +0200
changeset 16177 75cacce22b79a016d8f218e444f55594e8d2fb87
parent 16176 c711ef16d7ee31e4f7ef1e0f1e3f00f7e6de6f9b
child 16178 fe1feb4737361f3e6b13543959d0a8073a66d7a3
push id10114
push userryanvm@gmail.com
push dateThu, 08 May 2014 13:42:25 +0000
treeherdercomm-central@75cacce22b79 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjosiah
bugs1007225
Bug 1007225 - Hide titlebar-placeholder when not draw in titlebar. r=josiah
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) {