Home | Trees | Indices | Help |
|
---|
|
object --+ | util.Base --+ | util.Base2 --+ | cssrule.CSSRule --+ | CSSPageRule
The CSSPageRule interface represents a @page rule within a CSS style sheet. The @page rule is used to specify the dimensions, orientation, margins, etc. of a page box for paged media.
Inherits properties from CSSRule
page : PAGE_SYM S* pseudo_page? S* LBRACE S* declaration [ ';' S* declaration ]* '}' S* ; pseudo_page : ':' IDENT # :first, :left, :right in CSS 2.1 ;
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
wellformed = True READONLY |
|||
Inherited from Inherited from Inherited from |
|
|||
type The type of this rule, as defined by a CSSRule type constant. |
|||
cssText (DOM) The parsable textual representation of the rule. |
|||
selectorText (DOM) The parsable textual representation of the page selector for the rule. |
|||
style (DOM) The declaration-block of this rule set. |
|||
Inherited from Inherited from Inherited from |
|
if readonly allows setting of properties in constructor only
|
parses selectorText which may also be a list of tokens and returns (selectorText, seq) see _setSelectorText for details |
DOMException on setting
|
wrapper for cssutils Selector object
If WS or Comments are included they are ignored here! Only way to add a comment is via setting cssText DOMException on setting
|
repr(x)
|
str(x)
|
|
typeThe type of this rule, as defined by a CSSRule type constant. Overwritten in derived classes. The expectation is that binding-specific casting methods can be used to cast down from an instance of the CSSRule interface to the specific derived interface implied by the type. (Casting not for this Python implementation I guess...)
|
cssText(DOM) The parsable textual representation of the rule.
|
selectorText(DOM) The parsable textual representation of the page selector for the rule.
|
style(DOM) The declaration-block of this rule set. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Mar 23 01:20:45 2008 | http://epydoc.sourceforge.net |