Bug Tracker

Ticket #12150 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

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:
Blocking: Blocked by:

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

comment:1 follow-up: ↓ 2 Changed 2 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 2 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 2 years ago by timmywil

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

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

Note: See TracTickets for help on using tickets.