09 January 2003
Note: The DOM Level 2 HTML module is not backward compatible with the DOM Level 1 HTML module.
Document support for the feature "XML" as
well as "HTML".HTMLDocument getElementById is now inherited from
the Document interface [DOM Level 2 Core] where it was
moved.HTMLSelectElement options was changed from
HTMLCollection to
HTMLOptionsCollection.length is no longer readonly and is now
unsigned.HTMLOptionElement defaultSelected attribute does not
reset the state of the form control.index is readonly.HTMLInputElement type is no longer read only.size was changed from
DOMString to unsigned long.HTMLTextAreaElement defaultValue attribute does not reset
the contents of the form control.HTMLBlockquoteElementBLOCKQUOTE
elements are now supported by the HTMLQuoteElement
interface.HTMLBaseFontElement size is of type
long.HTMLImageElement lowSrc attribute was removed.height,
hspace, width and vspace
were changed from DOMString to long.HTMLObjectElement contentDocument was added.HTMLAppletElement hspace and
vspace were changed from DOMString to
long.object returns the value of the HTML
object attribute.HTMLTableElement caption, tHead, tFoot,
insertRow, and deleteRow may raise
exceptions.index uses a logical order, and not a document
order.HTMLTableSectionElement insertRow and deleteRow
may raise exceptions.HTMLTableRowElement rowIndex,
sectionRowIndex, and cells are
readonly.insertCell and deleteCell may
raise exceptions.rowIndex uses a logical order, and not a document
order.HTMLFrameElement contentDocument was added.HTMLIFrameElement contentDocument was added.html2.org.w3c.dom.html2.HTMLOptionsCollection HTMLOptionsCollection
interface was added to the HTML module.