- From: Alex Inkin via GitHub <noreply@w3.org>
- Date: Wed, 01 Oct 2025 10:01:53 +0000
- To: public-css-archive@w3.org
waterplea has just created a new issue for https://github.com/w3c/csswg-drafts: == value() function to get value from another CSS rule == Sorry if this was brought up already, but why CSS keeps inventing new units like `lh` instead of allowing passing values of other rules with some function? Like: ```css height: value(line-height); ``` Instead of: ```css height: 1lh; ``` Is there some technical limitation/performance concern? This would make it very future-proof and extremely powerful allowing us all kinds of things and dropping the need for single use workarounds like `currentColor`. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12882 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 1 October 2025 10:01:55 UTC