Interface IShorthandResolver

All Known Implementing Classes:
AbstractBorderShorthandResolver, AbstractBoxShorthandResolver, AbstractCornersShorthandResolver, BackgroundPositionShorthandResolver, BackgroundShorthandResolver, BorderBottomShorthandResolver, BorderColorShorthandResolver, BorderLeftShorthandResolver, BorderRadiusShorthandResolver, BorderRightShorthandResolver, BorderShorthandResolver, BorderStyleShorthandResolver, BorderTopShorthandResolver, BorderWidthShorthandResolver, ColumnRuleShortHandResolver, ColumnsShorthandResolver, FlexFlowShorthandResolver, FlexShorthandResolver, FontShorthandResolver, GapShorthandResolver, GridColumnShorthandResolver, GridItemShorthandResolver, GridRowShorthandResolver, GridShorthandResolver, GridTemplateShorthandResolver, ListStyleShorthandResolver, MarginShorthandResolver, OutlineShorthandResolver, PaddingShorthandResolver, PlaceItemsShorthandResolver, TextDecorationShorthandResolver

public interface IShorthandResolver
Interface for shorthand resolvers.

CSS shorthand is a group of CSS properties that allow values of multiple properties to be set simultaneously. These values are separated by spaces. For example, the border property is shorthand for the border-width, border-style, and border-color properties. So in CSS, border: 5px solid red; would specify a border that’s five px wide, solid, and red.

  • Method Details

    • resolveShorthand

      List<CssDeclaration> resolveShorthand (String shorthandExpression)
      Resolves a shorthand expression.
      Parameters:
      shorthandExpression - the shorthand expression
      Returns:
      a list of CSS declaration