DOM::CSSStyleRule

Search for usage in LXR

DOM::CSSStyleRule Class Reference

#include <css_rule.h>

Inheritance diagram for DOM::CSSStyleRule:

Public Member Functions

 CSSStyleRule (const CSSRule &other)
 
 CSSStyleRule (const CSSStyleRule &other)
 
 CSSStyleRule (CSSStyleRuleImpl *impl)
 
CSSStyleRuleoperator= (const CSSRule &other)
 
CSSStyleRuleoperator= (const CSSStyleRule &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

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

◆ setSelectorText()

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.
DOMExceptionNO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is readonly.

Definition at line 455 of file css_rule.cpp.

◆ style()

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-2023 The KDE developers.
Generated on Mon Dec 4 2023 04:09:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.