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: stephen@cre8d-design.com Owned by: stephen@cre8d-design.com
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:
Description

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:

http://www.cre8d-design.com/safaribug.html

Attachments (0)
Change History (5)

Changed December 08, 2013 11:04PM UTC by stephenmerriman@gmail.com comment:1

Managed to replicate on jsfiddle if people prefer to access it that way: http://jsfiddle.net/zp92E/4/

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: → stephen@cre8d-design.com
status: newpending

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

http://jsfiddle.net/zp92E/5/

Changed December 09, 2013 11:11PM UTC by stephen@cre8d-design.com comment:3

status: pendingnew

Surprisingly, that one works fine.

Changed December 09, 2013 11:15PM UTC by stephen@cre8d-design.com comment:4

But if I move the js code to the body rather than onload, the first iframe disappears again: http://jsfiddle.net/zp92E/6/

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.