Interface CssInheritanceRules

  • All Known Implementing Classes:
    DefaultCssInheritanceRules

    public interface CssInheritanceRules
    Implementations of this interface determine the inheritance rules of CSS properties on tag basis and on property level.
    • Method Detail

      • inheritCssTag

        boolean inheritCssTag​(java.lang.String tag)
        Validate inheritance of parent tag CSS.
        Parameters:
        tag - the tag
        Returns:
        true if the tag can inherit CSS from it's parent tag, false otherwise.
      • inheritCssSelector

        boolean inheritCssSelector​(Tag tag,
                                   java.lang.String key)
        Validate inheritance of any CSS property for the given tag.
        Parameters:
        tag - the tag
        key - the css property
        Returns:
        true if this property can be inherited from the parent tag for the given tag, false otherwise.