previous   next   contents   objects   index

WD-DOM-Level-2-19990923

Appendix A: Changes

Editors
Arnaud Le Hors, W3C

A.1: Changes between DOM Level 1 and DOM Level 2

A.1.1: Changes to DOM Level 1 interfaces

Interface Attr
The Attr interface has one new attribute: ownerElement.
Interface Document
The Document interface has four new methods: importNode, createElementNS, createAttributeNS and getElementsByTagNameNS.
Interface NamedNodeMap
The NamedNodeMap interface has two new methods: getNamedItemNS, removeNamedItemNS.
Interface Node
The Node interface has one new method: supports.
The Node interface has three new attributes: namespaceURI, prefix and localName.
The ownerDocument attribute was specified to be null when the node is a Document. It is now also null when the node is a DocumentType which is not used with any Document yet.
Interface DocumentType
The DocumentType interface has two new attributes: publicID and systemID.
Interface DOMImplementation
The DOMImplementation interface has two new methods: createDocumentType and createDocument.
Interface Element
The Element interface has six new methods: getAttributeNS, setAttributeNS, removeAttributeNS, getAttributeNodeNS, setAttributeNodeNS, getElementsByTagNameNS.

A.1.2: New interfaces

HTML
The HTMLDOMImplementation interface was added to the HTML module.
Views
This new module defines the interface AbstractView.
StyleSheets
This new module defines the following interfaces: StyleSheet, StyleSheetList, MediaList, DocumentStyle and LinkStyle.
CSS
This new module defines the following interfaces CSSException, CSS2Azimuth, CSS2BackgroundPosition, CSS2BorderSpacing, CSS2CounterIncrement, CSS2CounterReset, CSS2Cursor, CSS2FontFaceSrc, CSS2FontFaceWidths, CSS2PageSize, CSS2PlayDuring, CSS2Properties, CSS2TextShadow, CSSCharsetRule, CSSFontFaceRule, CSSImportRule, CSSMediaRule, CSSPageRule, CSSPrimitiveValue, CSSRule, CSSRuleList, CSSStyleDeclaration, CSSStyleRule, CSSStyleSheet, CSSUnknownRule, CSSValue, CSSValueList, Counter, RGBColor, Rect, ViewCSS, DocumentCSS, DOMImplementationCSS and HTMLElementCSS.
Events
This new module defines the following interfaces Event, EventListener, EventTarget, MutationEvent, UIEvent, MouseEvent, and KeyEvent.
Traversal
This new module defines the following interfaces NodeFilter, NodeIterator, TreeWalker, and DocumentTraversal.
Range
This new module defines the interface Range and the exception RangeException.

previous   next   contents   objects   index