Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. DOMImplementation

DOMImplementation

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨July 2015⁩.

TheDOMImplementation interface represents an object providing methods which are not dependent on any particular document. Such an object is returned by theDocument.implementation property.

Property

This interface has no specific property and doesn't inherit any.

Instance methods

No inherited method.

DOMImplementation.createDocument()

Creates and returns anXMLDocument.

DOMImplementation.createDocumentType()

Creates and returns aDocumentType.

DOMImplementation.createHTMLDocument()

Creates and returns an HTMLDocument.

DOMImplementation.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 returnstrue. Old browsers are very inconsistent in their behavior.

Specifications

Specification
DOM
# interface-domimplementation

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp