Project

General

Profile

Bug #5314 » 0002-Retain-height-for-WStackedAnimation-fade-in-layout.patch

Bruce Toll, 10/10/2016 08:23 PM

View differences:

src/js/WStackedWidget.js
to.style.left = '';
to.style.width = '';
to.style.top = '';
to.style.height = to.nativeHeight;
/* If fade-only animation within a layout, retain set height */
if (effects !== Fade
|| typeof jQuery.data(stack.parentNode, 'layout') === 'undefined')
to.style.height = to.nativeHeight;
to.nativeHeight = null;
if (WT.isGecko && (effects & Fade))
to.style.opacity = '1';
to.style[WT.styleAttribute('animation-duration')] = '';
(3-3/3)