2.2 Extensions to the Comment Interface

The following attributes of the Comment Interface are prototype extensions to the Comment interface of the Document Object Model (DOM) Level 2 Core Specification [DOM Level 2 - Core].

Attributes

The Comment interface is extended by the text and atomic attributes. For details, see Attributes.

The following IDL Definition documents the Comment interface:

 interface Comment : CharacterData {
 // Extension of DOM Level 2:
   attribute  text;
   readonly attribute  atomic;
 };
Show: