Bug Tracker

Modify

Ticket #4535 (closed bug: duplicate)

Opened 4 years ago

Last modified 3 years ago

using show with parameters removes attributes from td

Reported by: tonyt Owned by:
Priority: major Milestone: 1.4
Component: effects Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

Test case

<table> <tbody> <tr> <td id="hcol" colspan = "4" style="display:none"> somedata</td> </tr> <tr> <td>one</td> <td>one</td> <td>one</td> <td>one</td> </tr> </tbody> </table>

Then after $("#hcol").show("normal");

from the table the colspan atribute is removed and the structure of the table is lost.

Attachments

showanimatebug.html.zip Download (544 bytes) - added by tonyt 4 years ago.
Show animate bug

Change History

comment:1 Changed 4 years ago by dmethvin

Same as #4492 (that time with rowspan) but a better generic description. Can you provide a complete test case?

comment:2 Changed 4 years ago by dmethvin

  • Component changed from unfilled to fx

Changed 4 years ago by tonyt

Show animate bug

comment:3 Changed 4 years ago by tonyt

Sure. See the attached file Thanks Tony

comment:4 Changed 3 years ago by petersendidit

The problem was that jQuery was using display:block for all animations, but doesn't need to when the element is a table, tbody, tr, td, th

 http://github.com/petersendidit/jquery/commit/0017c96739387b24cbb7bd1a9506eb0950dbbe4c

comment:5 Changed 3 years ago by snover

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #2185.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.