Ticket #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: | |
| 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:2 Changed 4 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 3 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!
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
