Bug Tracker

Modify

Ticket #7020 (closed bug: cantfix)

Opened 3 years ago

Last modified 2 years ago

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:
Blocking: Blocked by:

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

test.html Download (428 bytes) - added by propeng 3 years ago.
Example

Change History

Changed 3 years ago by propeng

Example

comment:1 Changed 3 years ago by snover

  • Status changed from new to assigned
  • Component changed from unfiled to manipulation
  • Priority set to low
  • Owner set to snover
  • Milestone 1.4.2 deleted
  • need changed from Review to Patch

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 3 years ago by snover

  • Owner changed from snover to anonymous
  • Status changed from assigned to new

comment:3 Changed 3 years ago by snover

  • Keywords needsreview added

comment:4 Changed 2 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to cantfix

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 2 years ago by dmethvin

  • Keywords needsreview removed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.