Ticket #10568 (open bug)
Animate width of hidden inline element
|Reported by:||benoit||Owned by:|
Versions affected: 1.6 - 1.6.4
Browsers: Firefox 7.0.1, Chromium 17.0.914.0, IE 9/8, Opera 11.52,
Operating system: Windows 7 SP1 and Windows XP SP3,
When calling animate('width', 'show') on hidden inline element it shows up immediately instead of animating the width. When hiding it works as expected.
I pinpointed it to line 8243 non-minimized jQuery source v.1.6.4:
jQuery.css( this, "display" ) === "inline"
It checks whether "display" style equals "inline" but it gets "none".
I don't know what should be the proper way to fix it or even if it should be fixed, but I thought I should report it.