-
Interface
Attr
-
The Attr interface has two new attributes,
Attr.schemaTypeInfo, and
Attr.isId.
-
Interface
Document
-
The Document interface has seven new
attributes: Document.inputEncoding,
Document.xmlEncoding,
Document.xmlStandalone,
Document.xmlVersion,
Document.strictErrorChecking,
Document.documentURI, and
Document.domConfig. It has three new methods:
Document.adoptNode(source),
Document.normalizeDocument(), and
Document.renameNode(n, namespaceURI,
qualifiedName). The attribute
Document.doctype has been modified.
-
Exception
DOMException
-
The DOMException has two new exception codes:
VALIDATION_ERR and
TYPE_MISMATCH_ERR.
-
Interface
DOMImplementation
-
The DOMImplementation interface has one new
method, DOMImplementation.getFeature(feature,
version).
-
Interface
Entity
-
The Entity interface has three new
attributes: Entity.inputEncoding,
Entity.xmlEncoding, and
Entity.xmlVersion.
-
Interface
Element
-
The Element interface has one new attribute,
Element.schemaTypeInfo, and three new methods:
Element.setIdAttribute(name, isId),
Element.setIdAttributeNS(namespaceURI, localName,
isId), and Element.setIdAttributeNode(idAttr,
isId).
-
Interface
Node
-
The Node interface has two new attributes,
Node.baseURI and Node.textContent.
It has nine new methods:
Node.compareDocumentPosition(other),
Node.isSameNode(other),
Node.lookupPrefix(namespaceURI),
Node.isDefaultNamespace(namespaceURI),
Node.lookupNamespaceURI(prefix),
Node.isEqualNode(arg),
Node.getFeature(feature, version),
Node.setUserData(key, data, handler),
Node.getUserData(key). It introduced 6 new
constants: Node.DOCUMENT_POSITION_DISCONNECTED,
Node.DOCUMENT_POSITION_PRECEDING,
Node.DOCUMENT_POSITION_FOLLOWING,
Node.DOCUMENT_POSITION_CONTAINS,
Node.DOCUMENT_POSITION_CONTAINED_BY, and
Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC. The
methods Node.insertBefore(newChild, refChild),
Node.replaceChild(newChild, oldChild) and
Node.removeChild(oldChild) have been modified.
-
Interface
Text
-
The Text interface has two new attributes,
Text.wholeText and
Text.isElementContentWhitespace, and one new
method, Text.replaceWholeText(content).