Note: The DOM Level 2 HTML module is not backward compatible with the DOM Level 1 HTML module.
Document
supports the feature "XML
"
as well as "HTML
".HTMLDocument
getElementById
is now inherited from
the Document
interface [DOM Level 2 Core] where it was
moved.HTMLFrameElement
contentDocument
was added.HTMLIFrameElement
contentDocument
was added.HTMLInputElement
type
is no longer read only.HTMLObjectElement
contentDocument
was added.form
was removed.HTMLOptionElement
defaultSelected
attribute does not
reset the state of the form control.HTMLTextAreaElement
defaultValue
attribute does not reset
the contents of the form control.HTMLImageElement
lowSrc
attribute was removed.border
,
height
, hspace
, width
and
vspace
were changed from DOMString
to
long
.HTMLDOMImplementation
HTMLDOMImplementation
interface was added to the HTML module.