Bug Tracker

Opened 11 years ago

Closed 11 years ago

#4042 closed bug (fixed)

.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:
Blocked by: Blocking:

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 (1)

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

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by ThiefMaster

Attachment: jquery.bug.html added

Testcase

comment:1 Changed 11 years ago by dmethvin

need: ReviewPatch

comment:2 Changed 11 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev [6178].

Note: See TracTickets for help on using tickets.