web api interface
DOMImplementation
The DOMImplementation interface represents an object providing methods which are not dependent on any particular document. Such an object is returned by the implementation property.
Property
This interface has no specific property and doesn’t inherit any.
Instance methods
No inherited method.
createDocument()- : Creates and returns an
XMLDocument.
- : Creates and returns an
createDocumentType()- : Creates and returns a
DocumentType.
- : Creates and returns a
createHTMLDocument()- : Creates and returns an HTML
Document.
- : Creates and returns an HTML
hasFeature()Deprecated- : Returns a boolean value indicating if a given feature is supported or not. This function is unreliable and kept for compatibility purpose alone: except for SVG-related queries, it always returns
true. Old browsers are very inconsistent in their behavior.
- : Returns a boolean value indicating if a given feature is supported or not. This function is unreliable and kept for compatibility purpose alone: except for SVG-related queries, it always returns
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.