Ticket #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: | ||
| 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 10 months ago by dmethvin
- Owner set to mblase75@…
- Status changed from new to pending
comment:2 in reply to: ↑ 1 Changed 10 months 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:
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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