A CSS at rule. You can create custom ones by deriving from this class. Note that they are instanced globally.
Public Member Functions | |
virtual string[] | GetNames () |
The set of all names that this at rule can use. Usually just one. E.g. font-face etc. More... | |
virtual void | SetupParsing (CssLexer lexer) |
This e.g. sets AtRuleMode. It's true if this @ rule uses nested selectors. Media and keyframes are two examples. More... | |
virtual CssAtRule | Copy () |
Copies this at rule. More... | |
virtual Rule | LoadRule (Css.Rule parent, StyleSheet style, Css.Value value) |
Called on this instance object to load it's values from the given value object. More... | |
Properties | |
string | Name [get] |
The main name of this function. Originates from the first result returned by GetNames. More... | |
|
inlinevirtual |
Copies this at rule.
Reimplemented in Css.AtRules.StyleSetRule, Css.AtRules.FontFaceRule, Css.AtRules.FontFeatureValuesRule, Css.AtRules.SwashRule, Css.AtRules.SupportsRule, Css.AtRules.PageRule, Css.AtRules.CharacterVariantRule, Css.AtRules.AnnotationRule, Css.AtRules.StylisticRule, Css.AtRules.OrnamentsRule, Css.AtRules.CounterStyleRule, Css.AtRules.NamespaceRule, Css.AtRules.Media, Css.AtRules.ViewportRule, Css.AtRules.Import, Css.AtRules.Charset, and Css.AtRules.Keyframes.
|
inlinevirtual |
The set of all names that this at rule can use. Usually just one. E.g. font-face etc.
Reimplemented in Css.AtRules.FontFaceRule, Css.AtRules.CssFontFeatureSubRule, Css.AtRules.PageRule, Css.AtRules.FontFeatureValuesRule, Css.AtRules.CounterStyleRule, Css.AtRules.SupportsRule, Css.AtRules.NamespaceRule, Css.AtRules.ViewportRule, Css.AtRules.Media, Css.AtRules.Import, Css.AtRules.Charset, and Css.AtRules.Keyframes.
|
inlinevirtual |
Called on this instance object to load it's values from the given value object.
Reimplemented in Css.AtRules.FontFeatureValuesRule, Css.AtRules.CounterStyleRule, Css.AtRules.SupportsRule, Css.AtRules.CssFontFeatureSubRule, Css.AtRules.PageRule, Css.AtRules.ViewportRule, Css.AtRules.FontFaceRule, Css.AtRules.NamespaceRule, Css.AtRules.Media, Css.AtRules.Import, Css.AtRules.Keyframes, and Css.AtRules.Charset.
|
inlinevirtual |
This e.g. sets AtRuleMode. It's true if this @ rule uses nested selectors. Media and keyframes are two examples.
Reimplemented in Css.AtRules.CssFontFeatureSubRule, Css.AtRules.FontFeatureValuesRule, Css.AtRules.SupportsRule, Css.AtRules.Keyframes, and Css.AtRules.Media.
|
get |
The main name of this function. Originates from the first result returned by GetNames.