on Minefield, expanding tabs now have correct transparency.

This commit is contained in:
SHIMODA Hiroshi 2010-12-01 17:59:07 +09:00
parent 974712c99c
commit 31fb56fd03

View File

@ -4661,9 +4661,10 @@ TreeStyleTabBrowser.prototype = {
if (aTime >= aDuration || stopAnimation) { if (aTime >= aDuration || stopAnimation) {
delete aTab.__treestyletab__updateTabCollapsedTask; delete aTab.__treestyletab__updateTabCollapsedTask;
if (aCollapsed) aTab.setAttribute(self.kCOLLAPSED_DONE, true); if (aCollapsed) aTab.setAttribute(self.kCOLLAPSED_DONE, true);
if (!CSSTransitionEnabled) if (!CSSTransitionEnabled) {
aTab.style.removeProperty(self.collapseCSSProp); aTab.style.removeProperty(self.collapseCSSProp);
aTab.style.removeProperty('opacity'); aTab.style.removeProperty('opacity');
}
aTab.removeAttribute(offsetAttr); aTab.removeAttribute(offsetAttr);
maxMargin = null; maxMargin = null;