Expand description
Support for custom properties for cascading variables.
Macros§
- lnf_int 🔒
Structs§
- A pair of separate CustomPropertiesMaps, split between custom properties that have the inherit flag set and those with the flag unset.
- The environment from which to get
env
function values. - A struct that takes care of encapsulating the cascade process for custom properties.
- Set of flags to non-custom references this custom property makes.
- A struct holding information about the external references to that a custom property value may have.
- A value for a custom property is just a set of tokens.
Enums§
- Whether to defer resolving custom properties referencing font relative units.
Statics§
Functions§
- Given a potentially registered variable value turn it into a computed custom property value.
- Like parse_declaration_value, but accept
!
and;
since they are only invalid at the top level. - Parse a custom property name.
- Removes the named registered custom property and inserts its uncomputed initial value.
- Replace var() and env() functions, returning the resulting CSS string.
- Resolve all custom properties to either substituted, invalid, or unset (meaning we should use the inherited value).
- Replace
var()
andenv()
functions. ReturnErr(..)
for invalid at computed time. - Replace
var()
andenv()
functions in a pre-existing variable value.
Type Aliases§
- Both specified and computed values are VariableValues, the difference is whether var() functions are expanded.
- A custom property name is just an
Atom
. - Both specified and computed values are VariableValues, the difference is whether var() functions are expanded.