public interface CSSStyleRule extends CSSRule
CSSStyleRule
implements the CSSRule
interface.CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE, WEBKIT_KEYFRAME_RULE, WEBKIT_KEYFRAMES_RULE
Modifier and Type | Method and Description |
---|---|
String |
getSelectorText()
Gets/sets the textual representation of the selector for this rule, e.g.
|
CSSStyleDeclaration |
getStyle()
Returns the
CSSStyleDeclaration object for the rule. |
void |
setSelectorText(String arg) |
getCssText, getParentRule, getParentStyleSheet, getType, setCssText
String getSelectorText()
"h1,h2"
.void setSelectorText(String arg)
CSSStyleDeclaration getStyle()
CSSStyleDeclaration
object for the rule. Read only.Copyright © 2016. All rights reserved.