Skip to main content

Bug Tracker

Side navigation

#7020 closed bug (cantfix)

Opened September 09, 2010 08:45PM UTC

Closed April 01, 2011 01:02AM UTC

Last modified April 01, 2011 02:23AM UTC

Wrapping an iframe resets it

Reported by: propeng Owned by: anonymous
Priority: low Milestone:
Component: manipulation Version: 1.4.2
Keywords: iframe wrap wrapall Cc:
Blocked by: Blocking:
Description

When wrap() or wrapAll() is used on an iframe with designMode set to on, it loses all changes and designMode is set back to off. (Tested on Firefox 3.6.7)

Attachments (1)
  • test.html (0.4 KB) - added by propeng September 09, 2010 08:45PM UTC.

    Example

Change History (5)

Changed September 22, 2010 11:22PM UTC by snover comment:1

component: unfiledmanipulation
milestone: 1.4.2
need: ReviewPatch
owner: → snover
priority: → low
status: newassigned

Thanks for the report.

This is a Firefox bug. Unfortunately, because Firefox reloads the content of the iframe no matter what DOM manipulation occurs, there is nothing that jQuery can do to prevent this behaviour currently.

This is also an issue in WebKit but with a workaround there to use adoptNode.

Changed September 22, 2010 11:22PM UTC by snover comment:2

owner: snoveranonymous
status: assignednew

Changed October 15, 2010 02:12AM UTC by snover comment:3

keywords: iframe wrap wrapalliframe wrap wrapall needsreview

Changed April 01, 2011 01:02AM UTC by dmethvin comment:4

resolution: → cantfix
status: newclosed

Since this is a Firefox bug we aren't able to fix it, and it's a relatively rare thing to begin with.

Changed April 01, 2011 02:23AM UTC by dmethvin comment:5

keywords: iframe wrap wrapall needsreviewiframe wrap wrapall