10 December 2001

Appendix A: Changes

Editor:
Philippe Le Hégaret, W3C

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

Note: The DOM Level 2 HTML module is not backward compatible with the DOM Level 1 HTML module.

OMG IDL
The DOM Level 2 specifications are now using Corba 2.3.1 instead of Corba 2.2.
XHTML 1.0 support
The DOM Level 2 HTML module supports HTML 4 as well as XHTML 1.0 documents. Therefore, case sensitivity in methods depends on the Document supports the feature "XML" as well as "HTML".

A.1.1: Changes to DOM Level 1 interfaces and exceptions

Interface HTMLDocument
the method getElementById is now inherited from the Document interface [DOM Level 2 Core] where it was moved.
Interface HTMLFrameElement
the attribute contentDocument was added.
Interface HTMLIFrameElement
the attribute contentDocument was added.
Interface HTMLInputElement
the attribute type is no longer read only.
Interface HTMLObjectElement
The attribute contentDocument was added.
The attribute form was removed.
Interface HTMLOptionElement
Changing the defaultSelected attribute does not reset the state of the form control.
Interface HTMLTextAreaElement
Changing the defaultValue attribute does not reset the contents of the form control.
Interface HTMLImageElement
The lowSrc attribute was removed.
The types of the attributes border, height, hspace, width and vspace were changed from DOMString to long.

A.1.2: New Interfaces

Interface HTMLDOMImplementation
The HTMLDOMImplementation interface was added to the HTML module.