Skip to main content

Bug Tracker

Side navigation

#6036 closed bug (duplicate)

Opened February 05, 2010 10:55AM UTC

Closed October 04, 2010 09:37PM UTC

Animating visibility breaks the display type of elements.

Reported by: lhunath Owned by:
Priority: major Milestone: 1.4.2
Component: effects Version: 1.4.1
Keywords: Cc:
Blocked by: Blocking:
Description

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.

Attachments (0)
Change History (3)

Changed March 22, 2010 09:32PM UTC by marcandre comment:1

+1

Completely unusable for table rows spanning more than a row, for instance.

See my test case at: http://marc-andre.ca/posts/misc/jQuery_row_bug.html

Changed June 14, 2010 12:57AM UTC by dmethvin comment:2

component: unfiledfx

Changed October 04, 2010 09:37PM UTC by snover comment:3

resolution: → duplicate
status: newclosed

Duplicate of #2185.