Bug Tracker

Modify

Ticket #1127 (closed feature: fixed)

Opened 6 years ago

Last modified 6 years ago

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

comment:1 Changed 6 years ago by john

  • Status changed from new to closed
  • Version changed from 1.1.2 to 1.1.4
  • Resolution set to fixed
  • Description modified (diff)
  • Milestone changed from 1.1.3 to 1.2

Fixed in SVN.

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.