- All Superinterfaces:
- CSSGroupingRule,- CSSRule,- CSSRule
- All Known Subinterfaces:
- CSSContainerRule,- CSSSupportsRule
Represents all the "conditional" at-rules, which consist of a condition and a
 statement block.
- 
Field SummaryFields inherited from interface org.w3c.css.om.CSSRuleCOUNTER_STYLE_RULE, CUSTOM_MEDIA_RULE, DOCUMENT_RULE, FONT_FACE_RULE, FONT_FEATURE_VALUES_RULE, IMPORT_RULE, KEYFRAME_RULE, KEYFRAMES_RULE, MARGIN_RULE, MEDIA_RULE, NAMESPACE_RULE, NESTED_DECLARATIONS, PAGE_RULE, PROPERTY_RULE, REGION_STYLE_RULE, STYLE_RULE, SUPPORTS_RULE, UNKNOWN_RULE, VIEWPORT_RULEFields inherited from interface org.w3c.dom.css.CSSRuleCHARSET_RULE
- 
Method SummaryModifier and TypeMethodDescriptionGets the serialization of the condition of this rule.voidsetConditionText(String conditionText) Sets the condition associated to this rule.Methods inherited from interface org.w3c.css.om.CSSGroupingRuledeleteRule, getCssRules, insertRuleMethods inherited from interface org.w3c.css.om.CSSRulegetParentRule, getParentStyleSheetMethods inherited from interface org.w3c.dom.css.CSSRulegetCssText, getType, setCssText
- 
Method Details- 
getConditionTextString getConditionText()Gets the serialization of the condition of this rule.- Returns:
- the serialization of the condition of this rule.
 
- 
setConditionTextSets the condition associated to this rule.- Parameters:
- conditionText- the condition text.
- Throws:
- DOMException- if the condition could not be parsed or is read-only.
 
 
-