Css.AtRules.SupportsRule Class Reference

Detailed Description

Represents the supports rule. Syntax support only at the moment.

Inheritance diagram for Css.AtRules.SupportsRule:
Css.CssAtRule Css.Rule

Public Member Functions

override string[] GetNames ()
 The set of all names that this at rule can use. Usually just one. E.g. font-face etc. More...
 
override void SetupParsing (CssLexer lexer)
 True if this @ rule uses nested selectors. Media and keyframes are two examples. More...
 
override CssAtRule Copy ()
 Copies this at rule. More...
 
void AddToDocument (ReflowDocument document)
 The parent rule of this rule. More...
 
void RemoveFromDocument (ReflowDocument document)
 Removes this rule from the lookups in the given document. More...
 
override 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...
 

Public Attributes

SupportsQuery Query
 The constructed query. More...
 
List< RuleRules
 The style to apply if the group is supported. More...
 
Css.Value RawValue
 The raw value. More...
 
StyleSheet ParentSheet
 The parent stylesheet. More...
 

Properties

List< RulecssRules [get]
 The rules. More...
 
string cssText [get, set]
 The CSS text of this rule. More...
 
StyleSheet parentStyleSheet [get]
 The parent stylesheet. More...
 
int type [get]
 Rule type. More...
 
- Properties inherited from Css.CssAtRule
string Name [get]
 The main name of this function. Originates from the first result returned by GetNames. More...
 
- Properties inherited from Css.Rule
int type [get]
 The type of rule. More...
 
StyleSheet parentStyleSheet [get]
 The parent style sheet. More...
 
string cssText [get, set]
 The CSS text. More...
 

Member Function Documentation

void Css.AtRules.SupportsRule.AddToDocument ( ReflowDocument  document)
inline

The parent rule of this rule.

Adds this rule to the lookups in the given document.

Implements Css.Rule.

override CssAtRule Css.AtRules.SupportsRule.Copy ( )
inlinevirtual

Copies this at rule.

Reimplemented from Css.CssAtRule.

override string [] Css.AtRules.SupportsRule.GetNames ( )
inlinevirtual

The set of all names that this at rule can use. Usually just one. E.g. font-face etc.

Reimplemented from Css.CssAtRule.

override Rule Css.AtRules.SupportsRule.LoadRule ( Css.Rule  parent,
StyleSheet  style,
Css.Value  value 
)
inlinevirtual

Called on this instance object to load it's values from the given value object.

Reimplemented from Css.CssAtRule.

void Css.AtRules.SupportsRule.RemoveFromDocument ( ReflowDocument  document)
inline

Removes this rule from the lookups in the given document.

Implements Css.Rule.

override void Css.AtRules.SupportsRule.SetupParsing ( CssLexer  lexer)
inlinevirtual

True if this @ rule uses nested selectors. Media and keyframes are two examples.

Reimplemented from Css.CssAtRule.

Member Data Documentation

StyleSheet Css.AtRules.SupportsRule.ParentSheet

The parent stylesheet.

SupportsQuery Css.AtRules.SupportsRule.Query

The constructed query.

Css.Value Css.AtRules.SupportsRule.RawValue

The raw value.

List<Rule> Css.AtRules.SupportsRule.Rules

The style to apply if the group is supported.

Property Documentation

List<Rule> Css.AtRules.SupportsRule.cssRules
get

The rules.

string Css.AtRules.SupportsRule.cssText
getset

The CSS text of this rule.

StyleSheet Css.AtRules.SupportsRule.parentStyleSheet
get

The parent stylesheet.

int Css.AtRules.SupportsRule.type
get

Rule type.