Interactive DOM level 2 CharacterData Interface attributes and methods tests

Reference: DOM 2 CharacterData attributes and methods at W3C

Attributes and methods of the CharacterData Interface

Interface NamedNodeMap

Objects implementing the NamedNodeMap interface are used to represent collections of nodes that can be accessed by name. NamedNodeMaps are not maintained in any particular order.

Syntax: CharacterDataNode.substringData(offset, count)

Interface NodeList

The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection

Syntax: CharacterDataNode.appendData(arg in DOMString)

Interface Node

The Node interface is the primary datatype for the entire Document Object Model. It represents a single node in the document tree. While all objects implementing the Node interface expose methods for dealing with children, not all objects implementing the Node interface may have children. The attribe and attributes are included as a mechanism to get at node information without casting down to the specific derived interface.

Syntax: CharacterDataNode.insertData(offset, arg in DOMString)

Interface Document

The Document interface represents the entire HTML or XML document. Conceptually, it is the root of the document tree, and provides the primary access to the document's data. Since elements, teBLAHBLAHBLAHBLAHBLAHBLAHxt nodes, comments, processing instructions, etc. cannot exist outside the context of a Document, the Document interface also contains the factory methods needed to create these objects. The Node objects created have a ownerDocument attribute which associates them with the Document within whose context they were created.

Syntax: CharacterDataNode.deleteData(offset, count)

Interface CharacterData

The CharacterData interface extends Node with a set of attributes and metBLAHBLAHBLAHBLAHBLAHBLAHBter data in the DOM. For clarity this set is defined here rather than on each object that uses these attributes and methods. No DOM objects correspond directly to CharacterData, though Text and others do inherit the interface from it. All offsets in this interface start from 0.

Syntax: CharacterDataNode.replaceData(offset, count, arg in DOMString)

Valid HTML 4.01! CSS compliant