- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 08 May 2024 16:43:46 +0000
- To: public-css-archive@w3.org
The use-case is `calc-size(var(--foo), size)`. It would be somewhat unfortunate if that worked *unless* you happened to store a calc-size() in that variable, when there's a perfectly reasonable interpretation of what that would mean. I also *suspect* that "stacked calculations" is probably something that might end up being useful in the future. At least, the concept of "store a sub-calculation in a local variable so you can use it repeatedly" has already been brought up in other issues (like `calc(--pi 3.14159, 2 * --pi)` or something); this would just be doing that in an unnamed/implicit fashion. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10220#issuecomment-2100988760 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 8 May 2024 16:43:49 UTC