Bug 713287 - Animation for closing a tab has a slight delay near the end when there is a lot of tabs. r=mak77
authorDão Gottwald <dao@mozilla.com>
Wed, 28 Dec 2011 19:20:36 +0100
changeset 84696 0e7bacdbb8fcb604daed6ffef7e235d46c631e59
parent 84695 6034efd8c0bbf2b27e8d35b02ab4332a524d6488
child 84697 855983168b2fcfc98e8b031be84735f1b927ebfe
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak77
bugs713287
milestone12.0a1
Bug 713287 - Animation for closing a tab has a slight delay near the end when there is a lot of tabs. r=mak77
browser/base/content/browser.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -42,24 +42,17 @@ tabbrowser {
                    max-width 250ms ease-out,
                    opacity 50ms ease-out 100ms /* hide the tab for the last 100ms of the max-width transition */;
 }
 
 .tab-throbber:not([fadein]):not([pinned]),
 .tab-label:not([fadein]):not([pinned]),
 .tab-icon-image:not([fadein]):not([pinned]),
 .tab-close-button:not([fadein]):not([pinned]) {
-  opacity: 0 !important;
-}
-
-.tab-throbber,
-.tab-label,
-.tab-icon-image,
-.tab-close-button {
-  -moz-transition: opacity 250ms;
+  display: none;
 }
 
 .tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
   position: fixed !important;
   display: block; /* position:fixed already does this (bug 579776), but let's be explicit */
 }
 
 #alltabs-popup {