DOM::CSSMediaRule Class Reference
The CSSMediaRule
interface represents a rule in a CSS style sheet.
More...
#include <css_rule.h>
Inheritance diagram for DOM::CSSMediaRule:

Public Member Functions | |
CSSMediaRule (const CSSMediaRule &other) | |
CSSMediaRule (const CSSRule &other) | |
CSSMediaRule (CSSMediaRuleImpl *impl) | |
CSSMediaRule & | operator= (const CSSMediaRule &other) |
CSSMediaRule & | operator= (const CSSRule &other) |
MediaList | media () const |
A list of media types for this rule. | |
CSSRuleList | cssRules () const |
A list of all CSS rules contained within the media block. | |
unsigned long | insertRule (const DOM::DOMString &rule, unsigned long index) |
Used to insert a new rule into the media block. | |
void | deleteRule (unsigned long index) |
Used to delete a rule from the media block. |
Detailed Description
The CSSMediaRule
interface represents a rule in a CSS style sheet.
A
rule can be used to delimit style rules for specific media types.
Definition at line 270 of file css_rule.h.
Member Function Documentation
|
A list of media types for this rule.
Definition at line 296 of file css_rule.cpp. |
|
A list of all CSS rules contained within the media block.
Definition at line 302 of file css_rule.cpp. |
|
Used to insert a new rule into the media block.
NO_MODIFICATION_ALLOWED_ERR: Raised if this media rule is readonly.
Definition at line 308 of file css_rule.cpp. |
|
Used to delete a rule from the media block.
Definition at line 314 of file css_rule.cpp. |
The documentation for this class was generated from the following files: