#include <css_rule.h>

Public Member Functions | |
CSSStyleRule (const CSSStyleRule &other) | |
CSSStyleRule (const CSSRule &other) | |
CSSStyleRule (CSSStyleRuleImpl *impl) | |
CSSStyleRule & | operator= (const CSSStyleRule &other) |
CSSStyleRule & | operator= (const CSSRule &other) |
DOM::DOMString | selectorText () const |
void | setSelectorText (const DOM::DOMString &) |
CSSStyleDeclaration | style () const |
![]() | |
CSSRule (const CSSRule &other) | |
CSSRule (CSSRuleImpl *impl) | |
CSSRule & | operator= (const CSSRule &other) |
unsigned short | type () const |
DOM::DOMString | cssText () const |
void | setCssText (const DOM::DOMString &) |
CSSStyleSheet | parentStyleSheet () const |
CSSRule | parentRule () const |
CSSRuleImpl * | handle () const |
bool | isNull () const |
Additional Inherited Members | |
![]() | |
enum | RuleType { UNKNOWN_RULE = 0 , STYLE_RULE = 1 , CHARSET_RULE = 2 , IMPORT_RULE = 3 , MEDIA_RULE = 4 , FONT_FACE_RULE = 5 , PAGE_RULE = 6 , QUIRKS_RULE = 100 } |
![]() | |
void | assignOther (const CSSRule &other, RuleType thisType) |
![]() | |
CSSRuleImpl * | impl |
Detailed Description
The CSSStyleRule
interface represents a single rule set in a CSS style sheet.
Definition at line 411 of file css_rule.h.
Constructor & Destructor Documentation
◆ CSSStyleRule() [1/4]
CSSStyleRule::CSSStyleRule | ( | ) |
Definition at line 377 of file css_rule.cpp.
◆ CSSStyleRule() [2/4]
CSSStyleRule::CSSStyleRule | ( | const CSSStyleRule & | other | ) |
Definition at line 381 of file css_rule.cpp.
◆ CSSStyleRule() [3/4]
CSSStyleRule::CSSStyleRule | ( | const CSSRule & | other | ) |
Definition at line 386 of file css_rule.cpp.
◆ CSSStyleRule() [4/4]
CSSStyleRule::CSSStyleRule | ( | CSSStyleRuleImpl * | impl | ) |
Definition at line 393 of file css_rule.cpp.
◆ ~CSSStyleRule()
CSSStyleRule::~CSSStyleRule | ( | ) |
Definition at line 410 of file css_rule.cpp.
Member Function Documentation
◆ operator=() [1/2]
CSSStyleRule & CSSStyleRule::operator= | ( | const CSSRule & | other | ) |
Definition at line 404 of file css_rule.cpp.
◆ operator=() [2/2]
CSSStyleRule & CSSStyleRule::operator= | ( | const CSSStyleRule & | other | ) |
Definition at line 398 of file css_rule.cpp.
◆ selectorText()
DOMString CSSStyleRule::selectorText | ( | ) | const |
The textual representation of the selector for the rule set.
The implementation may have stripped out insignificant whitespace while parsing the selector.
Definition at line 414 of file css_rule.cpp.
◆ setSelectorText()
void CSSStyleRule::setSelectorText | ( | const DOM::DOMString & | value | ) |
see selectorText
- Exceptions
-
CSSException SYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable. DOMException NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is readonly.
Definition at line 420 of file css_rule.cpp.
◆ style()
CSSStyleDeclaration CSSStyleRule::style | ( | ) | const |
The declaration-block of this rule set.
Definition at line 425 of file css_rule.cpp.
The documentation for this class was generated from the following files: