Skip to content

Commit d3362c2

Browse files
T34-activeyin1999
andauthored
[zh-cn]: update the translation of document embeds and featurePolicy properties (#20374)
Co-authored-by: A1lo <[email protected]>
1 parent 5fa2112 commit d3362c2

File tree

2 files changed

+29
-11
lines changed

2 files changed

+29
-11
lines changed

files/zh-cn/web/api/document/embeds/index.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
---
2-
title: document.embeds
2+
title: Document:embeds 属性
33
slug: Web/API/Document/embeds
4+
l10n:
5+
sourceCommit: 41a8b9c9832359d445d136b6d7a8a28737badc6b
46
---
57

6-
{{ ApiRef() }}
8+
{{ApiRef}}
79

8-
{{domxref("Document")}}接口的只读属性`embeds` 返回当前文档内的\<embed>**HTML** {{htmlelement("object")}}元素列表
10+
{{domxref("Document")}} 接口的 **`embeds`** 只读属性返回当前文档中嵌入的 {{htmlelement("embed")}} 元素的列表。
911

10-
## 语法
12+
##
1113

12-
```plain
13-
nodeList = document.embeds
14-
```
15-
16-
###
17-
18-
一个 {{domxref("HTMLCollection")}}类型的值
14+
{{domxref("HTMLCollection")}}。
1915

2016
## 规范
2117

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Document:featurePolicy 属性
3+
slug: Web/API/Document/featurePolicy
4+
l10n:
5+
sourceCommit: 41a8b9c9832359d445d136b6d7a8a28737badc6b
6+
---
7+
8+
{{APIRef("Feature Policy")}}{{SeeCompatTable}}
9+
10+
{{domxref("Document")}} 接口的 **`featurePolicy`** 只读属性返回 {{domxref("FeaturePolicy")}} 接口,该接口提供了用于检查应用于特定文档的[权限策略](/zh-CN/docs/Web/HTTP/Permissions_Policy)的简单 API。
11+
12+
##
13+
14+
{{domxref("FeaturePolicy")}} 对象,可用于检查应用于文档的权限策略设置。
15+
16+
## 规范
17+
18+
{{Specifications}}
19+
20+
## 浏览器兼容性
21+
22+
{{Compat}}

0 commit comments

Comments
 (0)