CSSRule
public interface CSSStyleRule extends CSSRule
CSSStyleRule
另见Document Object Model (DOM) Level 2 Style Specification 。
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
String
getSelectorText()
CSSStyleDeclaration
getStyle()
void
setSelectorText(String selectorText)
getCssText, getParentRule, getParentStyleSheet, getType, setCssText
String getSelectorText()
void setSelectorText(String selectorText) throws DOMException
DOMException
CSSStyleDeclaration getStyle()