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.
DOMImplementation
インターフェイスは、特定の文書に依存しないメソッドを提供するオブジェクトを表します。こうしたオブジェクトは Document.implementation
プロパティで返されます。
プロパティ
このインターフェイスは特定のプロパティを持たず、継承もしていません。
メソッド
継承しているメソッドはありません。
DOMImplementation.createDocument()
-
XMLDocument
を作成して返します。 DOMImplementation.createDocumentType()
-
DocumentType
を作成して返します。 DOMImplementation.createHTMLDocument()
-
HTML
Document
を作成して返します。 DOMImplementation.hasFeature()
非推奨;-
指定された機能に対応しているかどうかを示す論理値を返します。この関数は信頼性が低く、互換性のためだけに用意されています。SVG 関連のクエリーを除けば、常に
true
を返します。古いブラウザーはその動作にまったく一貫性がありません。
仕様書
Specification |
---|
DOM # interface-domimplementation |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
DOMImplementation | ||||||||||||
createDocument | ||||||||||||
createDocumentType | ||||||||||||
createHTMLDocument | ||||||||||||
hasFeature |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Deprecated. Not for use in new websites.
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.