- From: Axel D. via GitHub <noreply@w3.org>
- Date: Wed, 25 Feb 2026 01:31:09 +0000
- To: public-css-archive@w3.org
I was merely giving an example. The `calc()` function either returns a bare decimal value or a decimal value with a unit. And that's the input to the proposed `v()` function. The result of the `calc()` function is out of scope here. There is no inconsistency. `v()` deals with a bare decimal value or a decimal value with a unit, nothing else. > Sure, please explain why you desire this in more detail. Let me give an example: ```css --size: 5em; perspective: calc(var(--size) * 500); transform-origin: calc(var(--size) * 1.5) calc(var(--size) * .5) calc(u(var(--size)) * sqrt(pow(v(var(--size)), 2) - pow(v(var(--size)) / 2, 2)) / 3); ``` -- GitHub Notification of comment by SetTrend Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13550#issuecomment-3955996211 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 25 February 2026 01:31:09 UTC