diff --git a/files/zh-cn/web/api/document/embeds/index.md b/files/zh-cn/web/api/document/embeds/index.md index 2eb9352025295d..ea480e86f55024 100644 --- a/files/zh-cn/web/api/document/embeds/index.md +++ b/files/zh-cn/web/api/document/embeds/index.md @@ -1,21 +1,17 @@ --- -title: document.embeds +title: Document:embeds 属性 slug: Web/API/Document/embeds +l10n: + sourceCommit: 41a8b9c9832359d445d136b6d7a8a28737badc6b --- -{{ ApiRef() }} +{{ApiRef}} -{{domxref("Document")}}接口的只读属性`embeds` 返回当前文档内的\**HTML** {{htmlelement("object")}}元素列表 +{{domxref("Document")}} 接口的 **`embeds`** 只读属性返回当前文档中嵌入的 {{htmlelement("embed")}} 元素的列表。 -## 语法 +## 值 -```plain -nodeList = document.embeds -``` - -### 值 - -一个 {{domxref("HTMLCollection")}}类型的值 +{{domxref("HTMLCollection")}}。 ## 规范 diff --git a/files/zh-cn/web/api/document/featurepolicy/index.md b/files/zh-cn/web/api/document/featurepolicy/index.md new file mode 100644 index 00000000000000..d4962078521496 --- /dev/null +++ b/files/zh-cn/web/api/document/featurepolicy/index.md @@ -0,0 +1,22 @@ +--- +title: Document:featurePolicy 属性 +slug: Web/API/Document/featurePolicy +l10n: + sourceCommit: 41a8b9c9832359d445d136b6d7a8a28737badc6b +--- + +{{APIRef("Feature Policy")}}{{SeeCompatTable}} + +{{domxref("Document")}} 接口的 **`featurePolicy`** 只读属性返回 {{domxref("FeaturePolicy")}} 接口,该接口提供了用于检查应用于特定文档的[权限策略](/zh-CN/docs/Web/HTTP/Permissions_Policy)的简单 API。 + +## 值 + +{{domxref("FeaturePolicy")}} 对象,可用于检查应用于文档的权限策略设置。 + +## 规范 + +{{Specifications}} + +## 浏览器兼容性 + +{{Compat}}