DOM::CSSStyleRule

DOM::CSSStyleRule Class Reference

#include <css_rule.h>

Inheritance diagram for DOM::CSSStyleRule:

Public Member Functions

 CSSStyleRule (const CSSStyleRule &other)
 
 CSSStyleRule (const CSSRule &other)
 
 CSSStyleRule (CSSStyleRuleImpl *impl)
 
CSSStyleRuleoperator= (const CSSStyleRule &other)
 
CSSStyleRuleoperator= (const CSSRule &other)
 
DOM::DOMString selectorText () const
 
void setSelectorText (const DOM::DOMString &)
 
CSSStyleDeclaration style () const
 
- Public Member Functions inherited from DOM::CSSRule
 CSSRule (const CSSRule &other)
 
 CSSRule (CSSRuleImpl *impl)
 
DOM::DOMString cssText () const
 
CSSRuleImpl * handle () const
 
bool isNull () const
 
CSSRuleoperator= (const CSSRule &other)
 
CSSRule parentRule () const
 
CSSStyleSheet parentStyleSheet () const
 
void setCssText (const DOM::DOMString &)
 
unsigned short type () const
 

Additional Inherited Members

- Public Types inherited from DOM::CSSRule
enum  RuleType {
  UNKNOWN_RULE = 0, STYLE_RULE = 1, CHARSET_RULE = 2, IMPORT_RULE = 3,
  MEDIA_RULE = 4, FONT_FACE_RULE = 5, PAGE_RULE = 6, NAMESPACE_RULE = 10,
  QUIRKS_RULE = 100
}
 
- Protected Member Functions inherited from DOM::CSSRule
void assignOther (const CSSRule &other, RuleType thisType)
 
- Protected Attributes inherited from DOM::CSSRule
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.

Member Function Documentation

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 447 of file css_rule.cpp.

void CSSStyleRule::setSelectorText ( const DOM::DOMString value)

see selectorText

Exceptions
CSSExceptionSYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable.

Exceptions
DOMExceptionNO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is readonly.

Definition at line 455 of file css_rule.cpp.

CSSStyleDeclaration CSSStyleRule::style ( ) const

The declaration-block of this rule set.

Definition at line 460 of file css_rule.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jun 5 2020 22:35:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.