HtmlCssCascadeCandidate
OfficeIMO.Html.Css
One supported declaration retained while resolving an owned property slice.
Inheritance
- object
- HtmlCssCascadeCandidate
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property HtmlCssCascadeTrace.Candidates
Accepted by parameters 1
- Constructor HtmlCssCascadeTrace.HtmlCssCascadeTrace
Constructors
public HtmlCssCascadeCandidate(string declaredValue, string? cascadedValue, HtmlCssCascadeSourceKind source, HtmlCssCascadeDecision decision, bool isEffective, HtmlCssPropertyParseStatus grammarStatus, bool isImportant, HtmlCssSpecificity specificity, int ruleOrder, int declarationOrder, string? selector = null, string? layerName = null) #Creates an immutable provider-neutral cascade candidate.
Parameters
- declaredValue string
- cascadedValue string?
- source OfficeIMO.Html.Css.HtmlCssCascadeSourceKind
- decision OfficeIMO.Html.Css.HtmlCssCascadeDecision
- isEffective bool
- grammarStatus OfficeIMO.Html.Css.HtmlCssPropertyParseStatus
- isImportant bool
- specificity OfficeIMO.Html.Css.HtmlCssSpecificity
- ruleOrder int
- declarationOrder int
- selector string? = null
- layerName string? = null
Inherited Methods
Properties
public string DeclaredValue { get; } #Declaration value supplied to the cascade, including a CSS-wide keyword or unresolved var().
public string? CascadedValue { get; } #Candidate value after CSS-wide keyword handling, or null for a reset or rollback.
public HtmlCssCascadeSourceKind Source { get; } #Where the candidate came from.
public HtmlCssCascadeDecision Decision { get; } #How the candidate participated in the final result.
public bool IsEffective { get; } #Whether this authored declaration won the local cascade before keyword or substitution fallback was applied.
public HtmlCssPropertyParseStatus GrammarStatus { get; } #Owned property-grammar status for the declaration value.
public HtmlCssSpecificity Specificity { get; } #Selector specificity. Inline, inherited and presentational candidates also expose their stable internal tuple.
public int RuleOrder { get; } #Matched rule order, or -1 for inherited and presentational values.
public string? Selector { get; } #Matched selector text when the source is a style rule.
public string? LayerName { get; } #Qualified cascade-layer name, or null for an unlayered declaration.