Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#7020 closed bug (cantfix)

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 (428 bytes) - added by propeng 9 years ago.
Example

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by propeng

Attachment: test.html added

Example

comment:1 Changed 9 years ago by snover

Component: unfiledmanipulation
Milestone: 1.4.2
need: ReviewPatch
Owner: set to 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.

comment:2 Changed 9 years ago by snover

Owner: changed from snover to anonymous
Status: assignednew

comment:3 Changed 9 years ago by snover

Keywords: needsreview added

comment:4 Changed 9 years ago by dmethvin

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.

comment:5 Changed 9 years ago by dmethvin

Keywords: needsreview removed
Note: See TracTickets for help on using tickets.