Interface ContentFunction

  • All Known Implementing Classes:
    AttrValueFunction, CountersValueFunction, CounterValueFunction, ElementsFunction, PendingFunction, StringValueFunction, UrlValueFunction

    public interface ContentFunction
    A content function is only valid when evaluating either the 'content' property or the 'string-set' property. These functions produce ContentToken.

    ContentFunctions are only valid as first-level functions. That means, when evaluating nested function calls like 'url(attr(blah))', the URL function will be resolved as ContentFunction, but the attr-function will be resolved as ordinary CSSValue function.

    Author:
    Thomas Morgner