Bug Tracker

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#12572 closed bug (fixed)

:contains breaks searching iframes v1.8

Reported by: chris@… 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/

Change History (3)

comment:1 Changed 5 years ago by gibson042

Component: unfiledselector
Milestone: None1.8.2
Owner: set to gibson042
Priority: undecidedblocker
Status: newassigned

comment:2 Changed 5 years ago by Timmy Willison

Resolution: fixed
Status: assignedclosed

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

Changeset: a44463f83fee385879535ec2b2b37f584bcdebbd

comment:3 Changed 5 years ago by gibson042

#12586 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.