Interface CSSSupportsRule

All Superinterfaces:
CSSConditionRule, CSSGroupingRule, CSSRule, ExtendedCSSRule
All Known Implementing Classes:
SupportsRule

public interface CSSSupportsRule extends CSSConditionRule
Represents a ‘@supports’ rule.
  • Method Details

    • getCondition

      BooleanCondition getCondition()
      Get the object model representation of the condition associated to this rule.
      Returns:
      the object model representation of the condition associated to this rule.
    • supports

      boolean supports(StyleDatabase styleDatabase)
      Does the given style database support the condition associated to this rule ?
      Parameters:
      styleDatabase - the style database to test.
      Returns:
      true if the style database supports the condition, false otherwise.