Modify ↓
Ticket #12439 (closed bug: fixed)
[Regression] Selectors with both an id and a class return wrong result
| Reported by: | Schnark | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.8.1 |
| Component: | selector | Version: | 1.8.0 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
- Example at jsfiddle
- $('#ca-talk.new a') selects a <li id="ca-talk"><span><a></a></span></li>, though there is no class "new"
- Affected browsers: I can reproduce the bug in the compatibility mode of IE9, other reports are about IE7, IE8, and Opera. IE9 in standards mode and recent versions of Firefox are ok.
- Affected jQuery version: 1.8.0 (1.7.2 works as expected)
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

This has already been fixed.