Re: Different DOM level
byang <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <4291c0dc-46ba-49a2-8681-26ac6fd2bc1b@w24g2000prd.googlegroups.com> |
On Aug 8, 8:32 pm, Martin Honnen <[email protected]> wrote: > byang wrote: > > W3C propose three different DOM levels, I am wondering what are the > > relationship between these different levels. Could anybody tell me > > that whether the old one is out of date when the newer is published? > > Some DOM modules have been improved and extended with the different > levels, for instance there is W3C DOM Level 2 Corehttp://www.w3.org/TR/DOM-Level-2-Core/and there is also W3C DOM Level 3 > Corehttp://www.w3.org/TR/DOM-Level-3-Core/where the DOM Level 3 Core > specification extends the DOM Level 2 Core specification. > > Other modules exist only at a certain level, for instance Views, Style, > and Traversal and Range have only been published in level 2, Load and > Save, and Validation only in level 3. > > The older levels are still recommendations, whether they apply to your > situation depends on your implementation, most browsers like Mozilla and > Opera have long moved to support DOM Level 2 Core and HTML and the W3C > DOM Level 2 modules like Events, or Traversal and Range. And Mozilla and > Opera have even implemented some properties of DOM Level 3 Core. IE > however has not made that move, both its HTML and its XML DOM are close > to W3C DOM Level 1, plus lots of proprietary extensions (e.g. innerHTML, > outerHTML with the HTML DOM, XPath with selectNodes/selectSingleNod with > the XML DOM). Thank you for your reply, Martin. And that means there are three levels of implementation in Mozilla, right? Regards! Bo