Ticket #6036 (closed bug: duplicate)
Animating visibility breaks the display type of elements.
|Reported by:||lhunath||Owned by:|
While .toggle(); correctly preserves the element's display type, animate(height: 'toggle'); for instance, does not.
In fact, in 1.4 it seems to be that the display type is first set to "block" for the duration of the animation and then reset to the correct display type.
See test case at: http://stuff.lhunath.com/jquery-tbody-block.html
This breaks the layout of my tables as block obviously renders differently than table-row-group.