Skip to main content

Bug Tracker

Side navigation

#14620 closed bug (notabug)

Opened December 08, 2013 10:56PM UTC

Closed December 10, 2013 12:12AM UTC

wrap method on iframe breaks in Safari 7 when iframe repeated elsewhere

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:

I am 99% sure this is a bug with Safari rather than jQuery, but thought someone here may be able to narrow down what is actually causing the problem and pass it on to Apple.

In Safari 7 (tested on OS X Mavericks), if two iframes pointing at the same URL are placed on a page, then one is wrapped with a div, the other one displays blank.

I'm unable to replicate this in jsfiddle, but here is a minimal example of an HTML page demonstrating the bug:

Attachments (0)
Change History (5)

Changed December 08, 2013 11:04PM UTC by comment:1

Managed to replicate on jsfiddle if people prefer to access it that way:

Changed December 09, 2013 12:10AM UTC by dmethvin comment:2

_comment0: Does this fail as well? If so it's not related to jQuery at all. \ 1386547861533878
owner: →
status: newpending

Does this fail as well? If so it's not related to jQuery at all.

Changed December 09, 2013 11:11PM UTC by comment:3

status: pendingnew

Surprisingly, that one works fine.

Changed December 09, 2013 11:15PM UTC by comment:4

But if I move the js code to the body rather than onload, the first iframe disappears again:

Changed December 10, 2013 12:12AM UTC by dmethvin comment:5

resolution: → notabug
status: newclosed

Sounds like a Safari bug then, not a jQuery bug.