Bug Tracker

Modify

Ticket #3321 (closed bug: fixed)

Opened 5 years ago

Last modified 3 years ago

Class selector broken in Safari 3.1.2

Reported by: MarkMontague Owned by:
Priority: major Milestone: 1.3
Component: selector Version: 1.2.6
Keywords: safari class selector Cc:
Blocking: Blocked by:

Description

The attached test file isolates a bug in jquery 1.2.6's class selector that only shows up in Safari on the Mac (it works as it should in Firefox and Opera; I haven't tested other browsers or platforms).

To observe the bug: viewing the attached file in Safari, the checkboxes are supposed to control which data is visible. If 'field 1' is unchecked, the 'field 2' checkbox doesn't work.

Interestingly, if you fiddle with the whitespace in the html file around lines 61 and 62 (try putting the linebreak on line 61), the checkboxes start working properly.

Attachments

jquery_bug.html Download (2.3 KB) - added by MarkMontague 5 years ago.

Change History

Changed 5 years ago by MarkMontague

comment:1 Changed 3 years ago by dmethvin

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

This seems to work in jQuery 1.3.2 and Safari 5 on Windows so it was probably fixed with the transition to Sizzle.

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.