CSSStyleSheet (open)
Syntax
LOADLIB "wh::filetypes/css.whlib";
OBJECTTYPE CSSStyleSheet
Constructor
Properties
Functions
- STRING ARRAY FUNCTION ExtractURLs(BOOLEAN uniqueonly)
- STRING FUNCTION FormatCSS(RECORD options)
- BLOB FUNCTION GetDocumentBlob(BOOLEAN formatted)
- OBJECT FUNCTION RewriteDomStyles(OBJECT dom, RECORD options)
- MACRO RewriteToScope(STRING scope, STRING htmlclass, STRING bodyclass, STRING baseurl)
HareScript extension: rewrite this CSS file to be scoped to the specific classes
- MACRO RewriteURLs(FUNCTION PTR rewriter, RECORD options)