css-sanitizer
Classes to parse and sanitize CSS
|
▼NWikimedia | |
▼NCSS | |
▼NGrammar | |
CAlternative | Matcher that matches one out of a set of Matchers ("|" combiner) |
CAnythingMatcher | Matcher that matches anything except bad strings, bad urls, and unmatched left-paren, left-brace, or left-bracket |
CBlockMatcher | Matcher that matches a SimpleBlock |
CCheckedMatcher | Wrap another matcher in a callback to verify the matches |
CCustomPropertyMatcher | Matcher that matches a custom property (a CSS variable) example –name-of-variable |
CDelimMatcher | Matcher that matches one of a set of values |
CFunctionMatcher | Matcher that matches a CSSFunction |
CGrammarMatch | Represent a match from a Matcher |
CJuxtaposition | Matcher that groups other matchers (juxtaposition) |
CKeywordMatcher | Matcher that matches one of a set of keywords, case-insensitively |
CMatcher | Base class for grammar matchers |
CMatcherFactory | Factory for predefined Grammar matchers |
CNonEmpty | Matcher that requires its sub-Matcher has only non-empty matches ("!" multiplier) |
CNothingMatcher | Matcher that matches nothing |
CNoWhitespace | Matcher that asserts there was no whitespace before the current position |
CQuantifier | Matcher that matches a sub-Matcher a certain number of times ("?", "*", "+", "#", "{A,B}" multipliers) |
CTokenMatcher | Matcher that matches a token of a particular type |
CUnorderedGroup | Matcher that groups other matchers without ordering ("&&" and "||" combiners) |
CUrangeMatcher | Match the special "<urange>" notation |
CUrlMatcher | Matcher that matches a CSSFunction for a URL or a T_URL token |
CWhitespaceMatcher | Matcher that matches runs of whitespace |
▼NObjects | |
CAtRule | Represent a CSS at-rule |
CComponentValue | Represent a CSS component value |
CComponentValueList | Represent a list of CSS declarations |
CCSSFunction | Represent a CSS function |
CCSSObject | A base interface for "CSS objects" |
CCSSObjectList | Represent a list of CSS objects |
CDeclaration | Represent a CSS declaration |
CDeclarationList | Represent a list of declarations |
CDeclarationOrAtRule | Exists because DeclarationOrAtRuleList needs to be able to contain both Declarations and AtRules |
CDeclarationOrAtRuleList | Represent a list of CSS declarations and at-rules |
CQualifiedRule | Represent a CSS qualified rule |
CRule | Represent an abstract CSS rule |
CRuleList | Represent a list of CSS rules |
CSimpleBlock | Represent a CSS simple block |
CStylesheet | Represent a stylesheet |
CToken | Represent a CSS token |
CTokenList | Represent a list of CSS tokens |
▼NParser | |
CDataSource | Read data for the CSS parser |
CDataSourceTokenizer | Parse CSS into tokens |
CEncoder | Character set conversion for CSS |
CParser | Parse CSS into a structure for further processing |
CStringDataSource | Read data for the CSS parser |
CTokenizer | Tokenizer interface |
CTokenListTokenizer | Tokenizer that just returns a predefined list of tokens |
▼NSanitizer | |
CFontFaceAtRuleSanitizer | Sanitizes a CSS @font-face rule |
CImportAtRuleSanitizer | Sanitizes a CSS @import rule |
CKeyframesAtRuleSanitizer | Sanitizes a CSS @keyframes rule |
CMarginAtRuleSanitizer | Sanitizes the margin at-rules inside a CSS @page rule |
CMediaAtRuleSanitizer | Sanitizes a CSS @media rule |
CNamespaceAtRuleSanitizer | Sanitizes a CSS @namespace rule |
CPageAtRuleSanitizer | Sanitizes a CSS @page rule |
CPropertySanitizer | Sanitizes a Declaration |
CRuleSanitizer | Base class for CSS rule sanitizers |
CSanitizer | Base class for CSS sanitizers |
CStyleAttributeSanitizer | Sanitizes a CSS style attribute (i.e |
CStylePropertySanitizer | Sanitizes a Declaration representing a CSS style property |
CStyleRuleSanitizer | Sanitizes a CSS style rule |
CStylesheetSanitizer | Sanitizes a CSS stylesheet or rule list |
CSupportsAtRuleSanitizer | Sanitizes a CSS @supports rule |
CUtil | Static utility functions |