Bug Tracker

Modify

Ticket #4594 (closed bug: worksforme)

Opened 3 years ago

Last modified 18 months ago

tbody toggle() fails in IE7 if it contains more than one tr

Reported by: mcgmatt Owned by: john
Priority: major Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: tbody tr toggle Cc:
Blocking: Blocked by:

Description

When a tbody tag contains one tr, toggle() works for all browsers when calling toggle() on the tbody. When the tbody tag contains more than one tr tag, toggle() fails in IE7. I have not tested in IE6 or IE8, but it works with multiple tr tags in Firefox, Chrome, Safari, and Opera.

The problem appears to be with Sizzle - with multiple tr tags, it always returns false when checking :hidden for the tbody tag, even when the tbody is hidden.

This worked in the previous version, but does not work in 1.3.2.

Attachments

jQueryIE7tbodyToggleFail.zip Download (35.5 KB) - added by mcgmatt 3 years ago.
Example of bug

Change History

Changed 3 years ago by mcgmatt

Example of bug

comment:1 Changed 18 months ago by dmethvin

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

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.