Bug 827954 - Firefox button overlaps the first tab in private windows. r=ehsan
authorDão Gottwald <dao@mozilla.com>
Fri, 11 Jan 2013 13:39:39 +0100
changeset 118567 be47f975b538e4415c06b0d66031235b0aaea7e3
parent 118566 b786ed97ef221b19aa19fffba810def9d3869611
child 118568 a752f6f0994d7dfeb41a4ab85063422d93a30ee5
push id24170
push userryanvm@gmail.com
push dateSat, 12 Jan 2013 20:26:58 +0000
treeherdermozilla-central@d8599591d07c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs827954
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 827954 - Firefox button overlaps the first tab in private windows. r=ehsan
browser/base/content/browser.js
browser/themes/winstripe/browser.css
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -1168,18 +1168,18 @@ var gBrowserInit = {
     updateAppButtonDisplay();
 #endif
 
     // Misc. inits.
     CombinedStopReload.init();
     allTabs.readPref();
     TabsOnTop.init();
     BookmarksMenuButton.init();
+    gPrivateBrowsingUI.init();
     TabsInTitlebar.init();
-    gPrivateBrowsingUI.init();
     retrieveToolbarIconsizesFromTheme();
 
     // Wait until chrome is painted before executing code not critical to making the window visible
     this._boundDelayedStartup = this._delayedStartup.bind(this, uriToLoad, mustLoadSidebar);
     window.addEventListener("MozAfterPaint", this._boundDelayedStartup);
 
     this._loadHandled = true;
   },
--- a/browser/themes/winstripe/browser.css
+++ b/browser/themes/winstripe/browser.css
@@ -3386,13 +3386,15 @@ chatbox[minimized="true"] {
   background-position: top right;
   background-repeat: no-repeat;
 }
 
 #main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) {
   background-position: top left;
 }
 
-#main-window[privatebrowsingmode=temporary] #appmenu-button {
+#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon {
   list-style-image: url("chrome://browser/skin/privatebrowsing-light.png");
+  width: 20px;
+  height: 16px;
 }
 %endif