| Package | dom.style.css |
| Class | public class CSSPageRule |
| Inheritance | CSSPageRule CSSRule Object |
| Introduced in: | DOM 2 Core |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | DOM 2 Style cssText : DOMString [read-only]
The parsable textual representation of the rule. | CSSRule | |
![]() | DOM 2 Style parentRule : CSSRule [read-only]
If this rule is contained inside another rule (e.g. | CSSRule | |
![]() | DOM 2 Style parentStyleSheet : CSSStyleSheet [read-only]
The style sheet that contains this rule. | CSSRule | |
| DOM 2 Style selectorText : DOMString [read-only]
The parsable textual representation of the page selector for the rule. | CSSPageRule | ||
| DOM 2 Style style : CSSStyleDeclaration [read-only]
The declaration-block of this rule. | CSSPageRule | ||
![]() | DOM 2 Style type : Number [read-only]
The type of the rule, as defined above. | CSSRule | |
| DOM 2 Style selectorText | property |
selectorText:DOMString [read-only] | Introduced in: | DOM 2 Core |
The parsable textual representation of the page selector for the rule.
public function get selectorText():DOMStringDOMException — SYNTAX_ERR: Raised if the specified CSS string
value has a syntax error and is unparsable.
| |
DOMException — NO_MODIFICATION_ALLOWED_ERR: Raised if this rule is readonly.
|
See also
| DOM 2 Style style | property |
style:CSSStyleDeclaration [read-only] | Introduced in: | DOM 2 Core |
The declaration-block of this rule.
public function get style():CSSStyleDeclarationSee also