Function style::custom_properties::substitute_internal
source ยท fn substitute_internal<'a>(
variable_value: &'a VariableValue,
custom_properties: &'a ComputedCustomProperties,
stylist: &Stylist,
registration: &PropertyRegistrationData,
computed_context: &Context<'_>,
) -> Result<Substitution<'a>, ()>
Expand description
Replace var()
and env()
functions. Return Err(..)
for invalid at computed time.