Re: [csswg-drafts] [css-values-4] inherit() function: like var() for parent value, for any property (#2864)

> define parent() to expand to the equivalent token sequence at the point of use

The `parent()` function needs to resolve at the same time as `var()`, which means computed-value time. So yes, you could then assign to a custom prop to propagate the grandparent value. :-)



-- 
GitHub Notification of comment by andruud
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2864#issuecomment-817676787 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 12 April 2021 10:05:53 UTC