Bug Tracker

Modify

Ticket #4042 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

.class selector not working in opera in some cases

Reported by: ThiefMaster Owned by: john
Priority: major Milestone: 1.3.2
Component: selector Version: 1.3.1
Keywords: opera class Cc:
Blocking: Blocked by:

Description

If an element has two similar classes, e.g. class="bugTest bug" (notice the 2nd class being the beginning of the first class), a match on the shorter class name (.bug) won't match elements with class="bugTest bug" but will match those with class="bug bugTest". This only happens in Opera.

Attachments

jquery.bug.html Download (1.1 KB) - added by ThiefMaster 4 years ago.
Testcase

Change History

Changed 4 years ago by ThiefMaster

Testcase

comment:1 Changed 4 years ago by dmethvin

  • need changed from Review to Patch

comment:2 Changed 4 years ago by john

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

Fixed in SVN rev [6178].

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.