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

Was talking with @LeaVerou at CSSDay about this, just want to drop in that this feature would be really, really useful for a lot of developers, both those who already use a lot of custom properties (like me — having the need for this very often) to do even more things with them, and for those who come from preprocessors like Stylus, where there are things like property lookups (https://stylus-lang.com/docs/variables.html#property-lookup — in the Stylus' context it only goes up the tree of rules nesting, so what is described there would be slightly different from this proposal, but I think this proposal would cover a bunch of use-cases for the lookup, most of which Lea provided).

Would be really cool to see any progress on this, or to know if we still have any roadblocks like the mentioned “interop on serialization of all properties” — what is the current state of it?

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


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

Received on Thursday, 9 June 2022 22:06:52 UTC