Bug Tracker

Ticket #4370 (closed bug)

Opened 5 years ago

Last modified 4 years ago

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

Description (last modified by brandon) (diff)

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

comment:1 Changed 5 years ago by brandon

  • Description modified (diff)

comment:2 Changed 5 years ago by brandon

  • need changed from Review to Test Case

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

comment:3 Changed 4 years ago by snover

  • Status changed from new to pending

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 4 years ago by trac-o-bot

  • Status changed from pending to closed

Automatically closed due to 14 days of inactivity.

Note: See TracTickets for help on using tickets.