Type Definition style::custom_properties::CustomPropertiesMap [] [src]

type CustomPropertiesMap = OrderedMap<Name, Arc<VariableValue>>;

A map from CSS variable names to CSS variable computed values, used for resolving.

A consistent ordering is required for CSSDeclaration objects in the DOM. CSSDeclarations expose property names as indexed properties, which need to be stable. So we keep an array of property names which order is determined on the order that they are added to the name-value map.

The variable values are guaranteed to not have references to other properties.