Bug Tracker

Opened 4 years ago

Closed 4 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 follow-up: Changed 4 years ago by dmethvin

  • Owner set to mblase75@…
  • Status changed from new to pending

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 4 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 4 years ago by timmywil

  • Component changed from unfiled to effects
  • Milestone changed from None to 1.8
  • Priority changed from undecided to low
  • Resolution set to fixed
  • Status changed from pending to closed

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

Note: See TracTickets for help on using tickets.