Ticket #7545 (closed bug: worksforme)
Hide/show on a table row fails for Firefox in certain cases
| Reported by: | Peter Crabtree <peter.crabtree@…> | Owned by: | Peter Crabtree <peter.crabtree@…> |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | effects | Version: | 1.4.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Hiding a row, attaching it to the DOM, then showing it causes the display to be set to "block" for Firefox (which is bad, since it then causes the row to show in the first column only).
(Tested on Firefox 3.6.10)
Change History
comment:1 follow-up: ↓ 2 Changed 3 years ago by rwaldron
- Owner set to Peter Crabtree <peter.crabtree@…>
- Priority changed from undecided to low
- Status changed from new to pending
- Component changed from unfiled to effects
- Milestone 1.5 deleted
comment:2 in reply to: ↑ 1 ; follow-up: ↓ 3 Changed 3 years ago by Peter Crabtree <peter.crabtree@…>
- Status changed from pending to new
Replying to rwaldron:
http://jsfiddle.net/rwaldron/Nqfa4/5/
Can you confirm this is the behavior you were expecting?
In Firefox 3.6.10, that adds two rows, unless I have FireBug open, in which case it adds one. :-/
The intended behavior is to add a hidden row, and then show it (in a real-world application, the showing part would happen later).
comment:3 in reply to: ↑ 2 Changed 3 years ago by jitter
- Status changed from new to pending
Replying to Peter Crabtree <peter.crabtree@…>:
Replying to rwaldron:
http://jsfiddle.net/rwaldron/Nqfa4/5/
Can you confirm this is the behavior you were expecting?
In Firefox 3.6.10, that adds two rows, unless I have FireBug open, in which case it adds one. :-/
The intended behavior is to add a hidden row, and then show it (in a real-world application, the showing part would happen later).
That's only because console is undefined and the js is run twice. Try http://jsfiddle.net/Nqfa4/6/
Can you can confirm that's the behavior you want?
comment:4 Changed 3 years ago by Peter Crabtree <peter.crabtree@…>
- Status changed from pending to new
That's the behavior I want/expect; yes.
comment:5 Changed 3 years ago by jitter
- Status changed from new to closed
- Resolution set to worksforme
Ok then. http://jsfiddle.net/jitter/Nqfa4/7/
Thanks for taking the time to contribute to the jQuery project.
If you feel this ticket was incorrectly closed feel free to report back and reopen the issue.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Please take a look at this:
http://jsfiddle.net/rwaldron/Nqfa4/5/
Can you confirm this is the behavior you were expecting?