| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
util.Base --+
|
util.Base2 --+
|
cssrule.CSSRule --+
|
CSSMediaRule
Objects implementing the CSSMediaRule interface can be identified by the MEDIA_RULE constant. On these objects the type attribute must return the value of that constant.
: MEDIA_SYM S* medium [ COMMA S* medium ]*
STRING? # the name
LBRACE S* ruleset* '}' S*;
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
type = 4The type of this rule, as defined by a CSSRule type constant. |
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
cssText (DOM attribute) The parsable textual representation. |
|||
|
name An optional name for the media rules |
|||
|
media (DOM readonly) A list of media types for this rule of type MediaList |
|||
|
wellformed READONLY |
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
DOMException on setting
|
Used to delete a rule from the media block. DOMExceptions
|
|
Used to insert a new rule into the media block. DOMException on setting
returns the index within the media block's rule collection of the newly inserted rule. |
repr(x)
|
str(x)
|
|
|||
cssText(DOM attribute) The parsable textual representation.
|
nameAn optional name for the media rules
|
media(DOM readonly) A list of media types for this rule of type MediaList
|
wellformedREADONLY
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Feb 22 19:22:52 2008 | http://epydoc.sourceforge.net |