Skip to main content

Bug Tracker

Side navigation

#12572 closed bug (fixed)

Opened September 19, 2012 05:12PM UTC

Closed September 20, 2012 04:01PM UTC

Last modified September 21, 2012 04:09PM UTC

:contains breaks searching iframes v1.8

Reported by: chris@cfwebtools.com Owned by: gibson042
Priority: blocker Milestone: 1.8.2
Component: selector Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:
Description

Issue: :contains referencing an iframe will not find a matching element (returns empty object). If used outside of an iframe it appears to work correctly.

jQuery Version: 1.7.2 works; 1.8.* breaks (including live github version)

Browsers: Tested in Chrome 21.0.1180.89 m and FireFox 14.0.1

Sample: http://jsfiddle.net/VZHvj/

Attachments (0)
Change History (3)

Changed September 20, 2012 04:09AM UTC by gibson042 comment:1

component: unfiledselector
milestone: None1.8.2
owner: → gibson042
priority: undecidedblocker
status: newassigned

Changed September 20, 2012 04:01PM UTC by Timmy Willison comment:2

resolution: → fixed
status: assignedclosed

Sizzle: account for external document contexts (such as iframes) in combinator checks. Fixes #12572.

Changeset: a44463f83fee385879535ec2b2b37f584bcdebbd

Changed September 21, 2012 04:09PM UTC by gibson042 comment:3

#12586 is a duplicate of this ticket.