implementation (W3C DOM Core property)
| Version | Depr. | Static | Read-only |
|---|---|---|---|
| DOM1 | No | No | Yes |
| IE5.5+ | FF1.5+ | SA1.3+ | OP9+ |
|---|---|---|---|
| Partial | Full | Full | Full |
Example
var imp = document.implementation;
The example above saves a reference to the DOMImplementation that controls this document.
Description
The DOMImplementation object that controls this document. The
implementation allows access to factory methods for the creation of
low-level DOM objects, such as createDocument and createDocumentType.
This property is readonly.
Compatibility
| Internet Explorer | Firefox | Safari | Opera | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 5.5 | 6.0 | 7.0 | 1.5 | 2.0 | 3.0 | 1.3 | 2.0 | 3.0 | 9.0 | 9.5 |
| Partial | Partial | Partial | Full | Full | Full | Full | Full | Full | Full | Full |
Internet Explorer doesn't implement the following:
Internet Explorer 5.5 in HTML doesn't
implement this interface (implementation is
undefined).
Safari 1.3 has a buggy
implementation of createDocumentType.
Safari 1.3 and 2 have a buggy
implementation of createDocument.
User-contributed notes
There are no comments yet.
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.