CSSRule::RewriteURLs (open)

Rewrite all urls in this rule, recursively

Syntax

LOADLIB "wh::filetypes/css.whlib";

MACRO RewriteURLs(FUNCTION PTR rewriter, RECORD options)

Parameters

FUNCTION PTR rewriter

If set, rewrite URLs by this function. Resolving to absolute urls is done first. Signature: STRING FUNCTION func(STRING)

RECORD options
STRING baseurl

IF set, all relative urls are resolved to absolute urls, computed relative to this url.