Implement CSS Custom Properties (--var, var())
Add support for CSS Custom Properties per CSS Custom Properties for
Cascading Variables Module Level 1:
- Custom property declarations (--name: value) stored on ComputedStyle
- var() function substitution with fallback values
- Custom properties inherit through the DOM tree by default
- Cycle detection for circular var() references
- Support for initial/inherit/unset keywords on custom properties
- Nested var() in fallback values: var(--a, var(--b, blue))
- var() substitution in shorthand properties
- Case-sensitive custom property names
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>