W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2008

Re: Appropriate DOM levels question

From: <keshlam@us.ibm.com>
Date: Tue, 18 Mar 2008 14:26:50 -0400
To: "dave boland" <dboland9@fastmail.fm>
Cc: www-dom@w3.org, www-dom-request@w3.org
Message-ID: <OFF1CCFB59.648B6EFA-ON85257410.00647A1E-85257410.00655593@lotus.com>

> 1. Where can I find a concise description of the differences between the
> DOM levels and what browser level they support?

The W3C Recommendation documents for DOM Level 1, Level 2, and Level 3 (and
their optional modules) are available on the W3C's website. "DOM Level 0"
is a wholly unofficial name for the early and not-quite-compatabile Dynamic
HTML interfaces that existed before the DOM was standardized.

As far as the second part goes: The question is, what level of the DOM does
a given _browser_ support. Ask its authors. The DOM is not just a browser
interface; it's used many other places as well, and I don't think the W3C
tries to keep track of who has implemented which levels or how well --
that's officially a Quality Of Implementation issue.

> 2. Where can I find the complete topography of the DOM?

Much of what you listed is not actually part of the DOM APIs -- it's part
of the  _browser's_ APIs, which are outside the scope of the DOM.  The DOM
covers only the Document, plus a bit of Document Type information (the
document location can be retrieved in some versions of the DOM, for

If you're referring to the HTML DOM in particular, that's described in the
DOM Recommendation.

> 4. Is there a difference between a regular DOM and a DHTML DOM?  If so,
> what is it?

There is a difference between a basic DOM (which is typically used for XML
and XHTML, but may be used for HTML) and an HTML DOM (which is what
browsers more often use for HTML and -- if they support it -- XHTML). See
the Recommendation. Basically, the HTML DOM adds HTML-specific accessors,
but all the information is available through the basic DOM.

> 5. I read somewhere that all of the events (onMouseOver for example) are
> at the Window level.

DOM Event handling is described in DOM Level 2's events module. What
happens to the event once it gets out of the DOM and into the browser is
the browser's problem.

> Now that I look at the questions, perhaps there needs to be a document
> (my words) called DOM 101 for script writers.

There are many tutorials on the web. There have been many books published.
Received on Tuesday, 18 March 2008 18:31:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:13 UTC