From 9a110dee28ae2ef12ee014b98fda6bae6ee48edb Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Wed, 2 Mar 2022 20:22:51 +0900 Subject: Migrate to Compat macro (zh-cn) --- files/zh-cn/web/api/node/ownerdocument/index.html | 52 +---------------------- 1 file changed, 1 insertion(+), 51 deletions(-) (limited to 'files/zh-cn/web/api/node/ownerdocument') diff --git a/files/zh-cn/web/api/node/ownerdocument/index.html b/files/zh-cn/web/api/node/ownerdocument/index.html index f1af625761..5185b06e50 100644 --- a/files/zh-cn/web/api/node/ownerdocument/index.html +++ b/files/zh-cn/web/api/node/ownerdocument/index.html @@ -62,54 +62,4 @@ html = d.documentElement;

浏览器兼容性

-

{{ CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}[1]6.0[2]{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}[1]{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -

[1] 从 Gecko 9.0 {{ geckoRelease("9.0") }} 开始, 一个由脚本生成的DocumentType类型的节点(节点类型{{ domxref("Node.nodeType") }}的值为 Node.DOCUMENT_TYPE_NODE 也就是 10)的ownerDocument属性的值不再是null. 而是调用document.implementation.createDocumentType() 方法创建该节点的文档节点.

- -

[2] http://msdn.microsoft.com/en-us/library/ie/ms534315(v=vs.85).aspx

+{{Compat("api.Node.ownerDocument")}} -- cgit v1.2.3-54-g00ecf