Detailed Description

When a selector structurally matches an element, one of these is created so we can track when the selector activates/ deactivates.

Public Member Functions

void ResetActive ()
 Resets the active state of all roots. More...
 

Public Attributes

bool Active
 True if this selector is active. More...
 
int ActiveRoots
 The number of roots that are active. When this matches the number of roots, the selector as a whole activates. More...
 
Selector Selector
 The underlying selector. More...
 
RenderableData Target
 The targeted RenderData. More...
 
MatchingRoot[] MatchedRoots
 All the matching roots. More...
 

Package Functions

void Remove ()
 Removes this selector from all the computed styles it affects, except for the target. Use ComputedStyle.RemoveMatch(x) instead of calling this directly. More...
 

Properties

Css.Style Style [get]
 The style being applied. More...
 
int RootCount [get]
 The number of roots the selector has. More...
 

Member Function Documentation

void Css.MatchingSelector.Remove ( )
inlinepackage

Removes this selector from all the computed styles it affects, except for the target. Use ComputedStyle.RemoveMatch(x) instead of calling this directly.

void Css.MatchingSelector.ResetActive ( )
inline

Resets the active state of all roots.

Member Data Documentation

bool Css.MatchingSelector.Active

True if this selector is active.

int Css.MatchingSelector.ActiveRoots

The number of roots that are active. When this matches the number of roots, the selector as a whole activates.

MatchingRoot [] Css.MatchingSelector.MatchedRoots

All the matching roots.

Selector Css.MatchingSelector.Selector

The underlying selector.

RenderableData Css.MatchingSelector.Target

The targeted RenderData.

Property Documentation

int Css.MatchingSelector.RootCount
get

The number of roots the selector has.

Css.Style Css.MatchingSelector.Style
get

The style being applied.