Modify ↓
Ticket #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: | |
| 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
Change History
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.


Example