CSSRule::RewriteToScope (open)

Rewrites all selectors. Prepends all css style selectors with scope. If the first token in a selector is html or body, replace those with '.htmlclass' or '.bodyclass', respectivly (can't handle both html and body present!)

Syntax

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

MACRO RewriteToScope(STRING scope, STRING htmlclass, STRING bodyclass)

Parameters

STRING scope
STRING htmlclass
STRING bodyclass