← Back to index
ident() within var()
Spec: css-variables-2
Parse checks (@supports)
- supports --foo: var(ident("--bar"))
Computed value checks (JS)
- var(ident(...)) resolves referenced custom property
- ident() remains unresolved in unregistered custom property
- invalid custom property lookup via ident() yields empty
- invalid lookup fallback works
Demo
computed --var-with-ident-fn: