#8629 closed bug (worksforme)
fadeIn for a table row does not remove display: block
Reported by: | jostster | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | effects | Version: | 1.5.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This is a duplicate of http://bugs.jquery.com/ticket/2185 but still is not fixed in 1.5.1. I have a table row with the only style being
<tr style="border: thin solid lightgrey;"></tr>
I then clone that row and do a fadeIn but it adds display: block to the end so it looks like this
<tr style="border: thin solid lightgrey; display: block;"></tr>
In firefox this makes the table row look EXTREMELY ugly. In safari it looks normal.
I have created a JSFiddle page with parts of the table and jquery source code to duplicate the issue
Change History (10)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Owner: | set to jostster |
---|---|
Status: | new → pending |
Can you create a reduced test case? Your test case is too complex to clearly demonstrate a bug in core.
comment:3 Changed 12 years ago by
Here's a simplified test case that shows that the faded-in TR gets display: block in Firefox 2-4.
comment:4 Changed 12 years ago by
Component: | unfiled → effects |
---|---|
Milestone: | 1.next → 1.6 |
Owner: | jostster deleted |
Priority: | undecided → blocker |
Status: | pending → new |
comment:5 Changed 12 years ago by
Status: | new → open |
---|
comment:7 follow-up: 9 Changed 12 years ago by
Milestone: | 1.6 |
---|---|
Priority: | blocker → low |
Resolution: | → worksforme |
Status: | open → closed |
The fix for this ends up being rather easy: Just .hide() the element after you insert it into the page: http://jsfiddle.net/DzH9x/5/
comment:9 Changed 12 years ago by
Replying to john:
The fix for this ends up being rather easy: Just .hide() the element after you insert it into the page: http://jsfiddle.net/DzH9x/5/
Providing a work around shouldn't be a permanent fix...
I forgot to mention in the last table row for each section click the + sign to duplicate this issue.