Bug Tracker

Opened 11 years ago

Closed 11 years ago

#12150 closed bug (fixed)

border-spacing property accumulates when rows are shown and hidden

Reported by: mblase75@… Owned by: mblase75@…
Priority: low Milestone: 1.8
Component: effects Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

http://jsfiddle.net/mblase75/CN7re/9/

Clicking on the button shows and hides the "body" rows of the table below it. Each time the table rows are shown again, the header row increases in height by ten pixels.

Changing ".show('fast')" to ".show()" solves the problem, as does changing the table's "border-spacing" property to zero.

Change History (3)

comment:1 Changed 11 years ago by dmethvin

Owner: set to mblase75@…
Status: newpending

I don't see this in jQuery (edge) which represents the 1.8 release. Can you confirm? http://jsfiddle.net/CN7re/10/

comment:2 in reply to:  1 Changed 11 years ago by anonymous

Replying to dmethvin:

I don't see this in jQuery (edge) which represents the 1.8 release. Can you confirm? http://jsfiddle.net/CN7re/10/

Seems to be fixed in that fiddle. Here's a more complicated one (which I had simplified) which doesn't appear to be fixed, even in 1.8:

http://jsfiddle.net/mblase75/CN7re/13/

comment:3 Changed 11 years ago by Timmy Willison

Component: unfiledeffects
Milestone: None1.8
Priority: undecidedlow
Resolution: fixed
Status: pendingclosed

That fiddle pulls in jquery-latest, not jquery-git. Closing as fixed in 1.8.

Note: See TracTickets for help on using tickets.