You are currently viewing a snapshot of taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to, please file a bug.

You are here: Document Object Model in Mozilla > DOM Support in Mozilla

DOM Support in Mozilla

The Mozilla DOM Hacking Guide
This is a personal attempt to describe how the DOM implementation in Mozilla works. Some prior knowledge of the W3C DOM, of C++, and of XPCOM is recommended. It is still in development as I learn more myself every day.
Introduction to XPCOM for the DOM
This document introduces the basic concepts of XPCOM and how to use it in the context of the DOM code. It is really for beginners. Knowledge of C++ is assumed.
JavaScript-DOM Prototypes in Mozilla
A detailed document about DOM objects prototypes and their representation in JavaScript, and how they are implemented. A must-read for advanced JavaScript hackers who want to extend Mozilla's DOM.
Mapping DOM Objects to their C++ classes
For those who want to quickly find where in the tree a DOM object (like Document, Window, Navigator, etc) is implemented. Sorted by Object name.
Known bugs in our DOM implementation
The Known Bugs is a series of Bug Sheets, one for each specification of the W3C DOM. It lists all the known bugs in the implementation of the DOM in Mozilla, making it easier for developers to find why their scripts aren't working. Note that all the bugs come from Bugzilla.
The Team : Coders, QA's, Reviewers, Contacts
There are a number of people working full-time or part-time, paid or volunteers, on the DOM implementation in Mozilla. Here you will find who owns the DOM Bugzilla components, who codes, who tests, etc.
Mozilla Developer Center on DOM: central reference on Mozilla DOM that contains information, reference, documentation, tutorials
The Mozilla Developer Center on DOM is the central place to get info, tutorials, references, articles that cover all aspects of CSS, XML and DOM. Mozilla Developer Center is constantly in the process of being updated and it is for beginners, for experienced web authors and for anyone wishing to create cross-browser sites based on W3C web standards.
Using Web Standards in Your Web Pages
This document explains how to upgrade a webpage markup code to pass validation and how to implement CSS by providing recommendations, tools, tutorials and references. The document also explain how to write DOM that will run in Firefox and/or in other Mozilla-based browsers (Camino, Seamonkey, Flock, K-Meleon 1.x, Galeon 2.x, Epiphany, etc.) and/or in any modern browsers (e.g. Safari 2.x, MSIE 7, Opera 9, Konqueror 3.5) which have a good, reasonable support for W3C web standards (HTML 4.01, CSS 2.1 and DOM 2). The document explains how to correctly sniff browsers, how to modify CSS properties with javascript, etc. The document explains the coding techniques which are recognized as the best by a large consensus of web standards groups and organizations, web experts, book authors, etc. The document is for people ready to upgrade their site by using W3C web standards compliant code.

Outside of

The Mozilla DOM Sample Project
Created by a japanese team working on Mozilla, this extremely complete site details all the interfaces and is able to give you the difference between the different milestones when it comes to interfaces. Also a ton of examples to illustrate the most common methods and properties.
The French Gecko DOM Reference
The Gecko DOM Reference is also available in French!
The Java DOM API is part of the Blackwood project. It is an implementation of the Java bindings specified in the DOM Level 1 spec. Only the core DOM interfaces are implemented.