Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zh-cn]: update the translation of CSS CSSPageRule introduction #25889

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

T34-active
Copy link
Contributor

@T34-active T34-active requested a review from a team as a code owner February 14, 2025 06:54
@T34-active T34-active requested review from yin1999 and removed request for a team February 14, 2025 06:54
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Feb 14, 2025
Copy link
Contributor

Preview URLs

attribute DOMString selectorText;
readonly attribute CSSStyleDeclaration style;
};
_继承自其父类 {{domxref("CSSGroupingRule")}} 和 {{domxref("CSSRule")}} 的属性。_
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
_继承自其父类 {{domxref("CSSGroupingRule")}} 和 {{domxref("CSSRule")}} 的属性。_
_继承自其父接口 {{domxref("CSSGroupingRule")}} 和 {{domxref("CSSRule")}} 的属性。_

_继承自其父类 {{domxref("CSSGroupingRule")}} 和 {{domxref("CSSRule")}} 的属性。_

- {{domxref("CSSPageRule.selectorText")}}
- : 表示与该 at-规则关联的页面选择器的文本。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- : 表示与该 at-规则关联的页面选择器的文本。
- : 表示与该 at 规则关联的页面选择器的文本。

- {{domxref("CSSPageRule.selectorText")}}
- : 表示与该 at-规则关联的页面选择器的文本。
- {{domxref("CSSPageRule.style")}} {{ReadOnlyInline}}
- : 返回与该 at-规则关联的[声明块](/zh-CN/docs/Web/API/CSS_Object_Model/CSS_Declaration_Block)。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- : 返回与该 at-规则关联的[声明块](/zh-CN/docs/Web/API/CSS_Object_Model/CSS_Declaration_Block)
- : 返回与该 at 规则关联的[声明块](/zh-CN/docs/Web/API/CSS_Object_Model/CSS_Declaration_Block)


## 实例方法

_继承自其父类 {{domxref("CSSGroupingRule")}} 和 {{domxref("CSSRule")}} 的方法。_
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
_继承自其父类 {{domxref("CSSGroupingRule")}} 和 {{domxref("CSSRule")}} 的方法。_
_继承自其父接口 {{domxref("CSSGroupingRule")}} 和 {{domxref("CSSRule")}} 的方法。_

for (let i = 0; i < myRules.length; i++) {
log(`规则:${myRules[i]}`);
if (myRules[i] instanceof CSSPageRule) {
//... 使用 CSSPageRule 做一些事情
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
//... 使用 CSSPageRule 做一些事情
//……使用 CSSPageRule 做一些事情

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content.
Projects
Status: Review requested
Development

Successfully merging this pull request may close these issues.

2 participants