-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
base: main
Are you sure you want to change the base?
Conversation
Preview URLs |
attribute DOMString selectorText; | ||
readonly attribute CSSStyleDeclaration style; | ||
}; | ||
_继承自其父类 {{domxref("CSSGroupingRule")}} 和 {{domxref("CSSRule")}} 的属性。_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_继承自其父类 {{domxref("CSSGroupingRule")}} 和 {{domxref("CSSRule")}} 的属性。_ | |
_继承自其父接口 {{domxref("CSSGroupingRule")}} 和 {{domxref("CSSRule")}} 的属性。_ |
_继承自其父类 {{domxref("CSSGroupingRule")}} 和 {{domxref("CSSRule")}} 的属性。_ | ||
|
||
- {{domxref("CSSPageRule.selectorText")}} | ||
- : 表示与该 at-规则关联的页面选择器的文本。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- : 表示与该 at-规则关联的页面选择器的文本。 | |
- : 表示与该 at 规则关联的页面选择器的文本。 |
- {{domxref("CSSPageRule.selectorText")}} | ||
- : 表示与该 at-规则关联的页面选择器的文本。 | ||
- {{domxref("CSSPageRule.style")}} {{ReadOnlyInline}} | ||
- : 返回与该 at-规则关联的[声明块](/zh-CN/docs/Web/API/CSS_Object_Model/CSS_Declaration_Block)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- : 返回与该 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")}} 的方法。_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_继承自其父类 {{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 做一些事情 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
//... 使用 CSSPageRule 做一些事情 | |
//……使用 CSSPageRule 做一些事情 |
Description
Related issues and pull requests