- applyCSSImportRules
string applyCSSImportRules(string src, CSSImportRule[] rules)
Replace source code import rules obtained by extractImportRules() with imported content.
- decodeHexDigit
int decodeHexDigit(char ch)
Undocumented in source. Be warned that the author may not have intended to support it.
- extractCSSImportRules
CSSImportRule[] extractCSSImportRules(string src)
Extract CSS vimport rules from source.
- isCSSNameStart
bool isCSSNameStart(char ch)
Undocumented in source. Be warned that the author may not have intended to support it.
- isCSSNonPrintable
bool isCSSNonPrintable(char ch)
Undocumented in source. Be warned that the author may not have intended to support it.
- isCSSValidEscSequence
bool isCSSValidEscSequence(char ch, char ch2)
Undocumented in source. Be warned that the author may not have intended to support it.
- isCSSWhiteSpaceChar
bool isCSSWhiteSpaceChar(char ch)
Undocumented in source. Be warned that the author may not have intended to support it.
- preProcessCSS
char[] preProcessCSS(char[] src)
Before sending the input stream to the tokenizer, implementations must make the following code point substitutions:
* Replace any U+000D CARRIAGE RETURN (CR) code point, U+000C FORM FEED (FF) code point, or pairs of U+000D CARRIAGE RETURN (CR) followed by U+000A LINE FEED (LF) by a single U+000A LINE FEED (LF) code point.
* Replace any U+0000 NULL code point with U+FFFD REPLACEMENT CHARACTER.