Interface CSSConditionRule

All Superinterfaces:
CSSGroupingRule, CSSRule, CSSRule
All Known Subinterfaces:
CSSSupportsRule
All Known Implementing Classes:
SupportsRule

public interface CSSConditionRule extends CSSGroupingRule
Represents all the "conditional" at-rules, which consist of a condition and a statement block.
  • Method Details

    • getConditionText

      String getConditionText()
      Gets the serialization of the condition of this rule.
      Returns:
      the serialization of the condition of this rule.
    • setConditionText

      void setConditionText(String conditionText) throws DOMException
      Sets the condition associated to this rule.
      Parameters:
      conditionText - the condition text.
      Throws:
      DOMException