#12572 closed bug (fixed)
:contains breaks searching iframes v1.8
Reported by: | 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 10 years ago by
Component: | unfiled → selector |
---|---|
Milestone: | None → 1.8.2 |
Owner: | set to gibson042 |
Priority: | undecided → blocker |
Status: | new → assigned |
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Sizzle: account for external document contexts (such as iframes) in combinator checks. Fixes #12572.
Changeset: a44463f83fee385879535ec2b2b37f584bcdebbd
Note: See
TracTickets for help on using
tickets.
https://github.com/jquery/sizzle/pull/155