Backed out changeset 729b91a1c16f (bug 944136)
authorMike Conley <mconley@mozilla.com>
Tue, 03 Dec 2013 15:48:17 -0500
changeset 174088 910419804cd84296e7515e81a679ab307096eb13
parent 174087 c1742ebffa28bbd2ffdfd8d250227cb89e5185ee
child 174089 ef959ba156a20460acbcd8c091a1348377fd51e7
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs944136
milestone28.0a1
backs out729b91a1c16f947730c34270edc0e48c6945e9ab
Backed out changeset 729b91a1c16f (bug 944136)
browser/base/content/browser.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -118,24 +118,23 @@ tabbrowser {
   transition: min-width 200ms ease-out,
               max-width 230ms ease-out;
 }
 
 .tab-background {
   /* Explicitly set the visibility to override the value (collapsed)
    * we inherit from #TabsToolbar[collapsed] upon opening a browser window. */
   visibility: visible;
-  /* The transition is only delayed for opening tabs. */
+  /* This transition is only applied when opening a new tab. Closing tabs
+   * are just hidden so we don't need to adjust the delay for that. */
   transition: visibility 0ms 25ms;
 }
 
-.tab-background:not([fadein]):not([pinned]) {
+.tab-background[selected]:not([fadein]):not([pinned]) {
   visibility: hidden;
-  /* Closing tabs are hidden without a delay. */
-  transition-delay: 0ms;
 }
 
 .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]) {
   display: none;
 }