Bug 640490 - Adjust vertical alignment of tab labels on Windows. r=dao ui-r=shorlander
☠☠ backed out by a803f8a460be ☠ ☠
authorFrank Yan <fyan@mozilla.com>
Mon, 11 Apr 2011 11:05:23 -0700
changeset 67878 1bc84edab093
parent 67877 bc035b7a2aab
child 67879 525a9d7f3437
child 68004 a803f8a460be
push id19451
push usergsharp@mozilla.com
push date2011-04-12 02:10 +0000
treeherdermozilla-central@26ea8f24c27e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, shorlander
bugs640490
milestone2.2a1pre
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 640490 - Adjust vertical alignment of tab labels on Windows. r=dao ui-r=shorlander
browser/themes/winstripe/browser/browser.css
--- a/browser/themes/winstripe/browser/browser.css
+++ b/browser/themes/winstripe/browser/browser.css
@@ -1541,17 +1541,21 @@ richlistitem[type~="action"][actiontype=
   -moz-appearance: none;
   background: @toolbarShadowOnTab@, @bgTabTexture@,
               -moz-linear-gradient(-moz-dialog, -moz-dialog);
   background-origin: border-box;
   background-position: 1px 2px;
   background-size: -moz-calc(100% - 2px) -moz-calc(100% - 2px);
   background-repeat: no-repeat;
   margin: 0;
-  padding: 2px 0 4px;
+%ifdef WINSTRIPE_AERO
+  padding: 2px 0 4px; /* XXX remove this once bug 643781 is fixed */
+%else
+  padding: 1px 0 4px;
+%endif
   -moz-border-image: url(tabbrowser/tab.png) 4 3 0 / 4px 3px 0 repeat stretch;
   border-radius: 7px 7px 0 0;
 }
 
 .tabbrowser-tab:hover,
 .tabs-newtab-button:hover {
   background-image: @toolbarShadowOnTab@, @bgTabTextureHover@,
                     -moz-linear-gradient(-moz-dialog, -moz-dialog);