Side navigation
#4370 closed bug ()
Opened March 18, 2009 07:36AM UTC
Closed November 11, 2010 11:09PM UTC
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
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');
Attachments (0)
Change History (4)
Changed March 18, 2009 01:57PM UTC by comment:1
description: | 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'); → 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'); \ }}} |
---|
Changed March 18, 2009 02:00PM UTC by comment:2
need: | Review → Test Case |
---|
Could you provide a test case that includes the HTML you are using?
Changed October 14, 2010 03:14AM UTC by comment:3
status: | new → 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!
Changed November 11, 2010 11:09PM UTC by comment:4
status: | pending → closed |
---|
Automatically closed due to 14 days of inactivity.