You are currently viewing a snapshot of www.mozilla.org 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 www.mozilla.org, please file a bug.



Document

The Document object is a direct property of the global object. It is retrieved using GlobalWindowImpl::GetDocument() in the file nsGlobalWindow.cpp. The Document interface is introduced in the DOM Level 1 Core spec. In this file is only described the HTML Document object implementation, introduced in the DOM Level 1 HTML spec.

Class: nsHTMLDocument

File: content/html/document/src/nsHTMLDocument.cpp

Inherits from the following classes:

  • nsMarkupDocument : content/html/document/src/nsMarkupDocument.cpp

Implements the following interfaces:

  • nsIHTMLDocument : dom/public/idl/html/
  • nsIDOMHTMLDocument : dom/public/idl/html/nsIDOMHTMLDocument.idl
  • nsIDOMNSHTMLDocument : dom/public/idl/html/nsIDOMNSHTMLDocument.idl
  • nsIDOMNSDocument : dom/public/idl/core/nsIDOMNSDocument.idl
  • nsIDOMDocumentEvent : dom/public/idl/events/nsIDOMDocumentEvent.idl
  • nsIDOMDocumentStyle : dom/public/idl/stylesheets/nsIDOMDocumentStyle.idl
  • nsIDOMDocumentView : dom/public/idl/views/nsIDOMDocumentView.idl
  • nsIDOMDocumentRange : dom/public/idl/range/nsIDOMDocumentRange.idl
  • nsIDOMDocumentXBL : dom/public/idl/xbl/nsIDOMDocumentXBL.idl
  • nsIDOMEventTarget : dom/public/idl/events/nsIDOMEventTarget.idl
  • nsIHTMLContentContainer : content/html/document/src/nsIHTMLContentContainer.h