A global lookup of at rule name to handler. E.g. -face is a CSS at rule. Css at rules are instanced globally and mapped to the names they use. Note that functions are not instanced per element.
Static Public Member Functions | |
static bool | Add (Type ruleType) |
Adds a CSS at rule to the global set. This is generally done automatically, but you can also add one manually if you wish. More... | |
static CssAtRule | GetLocal (string name) |
Creates a local copy of a CSS at rule by the given name. Case insensitive. Null if not found. More... | |
static CssAtRule | Get (string name) |
Attempts to find the named at rule, returning the global instance if it's found. More... | |
Static Public Attributes | |
static Dictionary< string, CssAtRule > | All |
The lookup itself. Matches name (e.g. "font-face") to the function that will process it. More... | |
|
inlinestatic |
Adds a CSS at rule to the global set. This is generally done automatically, but you can also add one manually if you wish.
cssRule | The at rule to add. |
|
inlinestatic |
Attempts to find the named at rule, returning the global instance if it's found.
name | The rule to look for. |
|
inlinestatic |
Creates a local copy of a CSS at rule by the given name. Case insensitive. Null if not found.
|
static |
The lookup itself. Matches name (e.g. "font-face") to the function that will process it.