Bug Tracker

Opened 8 years ago

Closed 6 years ago

#4370 closed bug

Google Chrome - .parents 'UL LI' vs 'UL'

Reported by: EugeneIvanov Owned by: john
Priority: minor Milestone: 1.3
Component: selector Version: 1.3
Keywords: parents Cc:
Blocked by: Blocking:

Description (last modified by brandon)

Google Chrome vs jQuery We have UL, within the LI, but within A.

This works everywhere except chromium:

var aList = el.parents ( 'ul'). find ( 'a');
var aActive = el.parents ( 'ul'). find ( 'a.active');

This works in Chrome, too:

var aList = el.parents ( 'ul'). find ( 'a');
var aActive = el.parents ( 'ul li'). find ( 'a.active');

Change History (4)

comment:1 Changed 8 years ago by brandon

Description: modified (diff)

comment:2 Changed 8 years ago by brandon

need: ReviewTest Case

Could you provide a test case that includes the HTML you are using?

comment:3 Changed 7 years ago by snover

Status: newpending

This ticket has been marked as missing a test case. In an effort to reduce the number of outstanding tickets in the bug tracker, it will be closed automatically in 30 days. In order to prevent this from happening, please provide a working test case. If a test case has already been provided and our records are wrong, please respond to the ticket so that it can be fixed. Thank you!

comment:4 Changed 6 years ago by trac-o-bot

Status: pendingclosed

Automatically closed due to 14 days of inactivity.

Note: See TracTickets for help on using tickets.