Modify ↓
Ticket #1127 (closed feature: fixed)
replaceNode support
| Reported by: | pfh | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2 |
| Component: | core | Version: | 1.1.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description (last modified by john) (diff)
While replacing a node can be trivially achieved by .after().remove(), this is not an atomic operation and can cause twitching (at least in Firefox). The DOM has an atomic replace operation, replaceNode, that avoids this problem.
Atomic replacement would be especially useful for edit-in-place.
Change History
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.

Fixed in SVN.