2.4 Extensions to the Text Interface

The following methods are extensions to the Text interface of the Document Object Model (DOM) Level 2 Core Specification [DOM Level 2 - Core]:

The following IDL definition documents the Document interface:

 interface Element : Node {
 // Extension of DOM Level 2:
 boolean              removeNode;
 Node                 replaceNode (in Node newNode)
                                         raises(DOMException);
 Node                 swapNode;
  
 };
 
Show: