Type Alias style::custom_properties::ComputedValue

source ·
pub type ComputedValue = VariableValue;
Expand description

Both specified and computed values are VariableValues, the difference is whether var() functions are expanded.

Aliased Type§

struct ComputedValue {
    pub css: String,
    pub url_data: UrlExtraData,
    first_token_type: TokenSerializationType,
    last_token_type: TokenSerializationType,
    references: References,
}

Fields§

§css: String

The raw CSS string.

§url_data: UrlExtraData

The url data of the stylesheet where this value came from.

§first_token_type: TokenSerializationType§last_token_type: TokenSerializationType§references: References

var(), env(), or non-custom property (e.g. through em) references.