Interface CSSPropertyDefinition

All Known Subinterfaces:
CSSPropertyRule
All Known Implementing Classes:
PropertyRule

public interface CSSPropertyDefinition
A property definition.

See CSS Properties and Values API Level 1.

  • Method Details

    • getName

      String getName()
      Gets the property name.
      Returns:
      the property name.
    • inherits

      boolean inherits()
      Whether the property inherits or not.
      Returns:
      true if the property inherits.
    • getInitialValue

      CSSLexicalValue getInitialValue()
      The initial value associated with the property.
      Returns:
      the initial value, or null if none was specified.
    • getSyntax

      CSSValueSyntax getSyntax()
      The syntax associated with the property.
      Returns:
      the syntax, or null if invalid.