Re: [csswg-drafts] [css-values]: Proposal – Add type conversion functions to mathematical expressions (#13550)

In your comment, you overlooked that I declared the function arguments as "decimal value or decimal value with a unit." The proposed functions do not accept expressions—just like other CSS functions (except `calc()`, `calc-size()`, and the like) don’t take expressions.

In your example, the correct way to use `u()` or `v()` with an expression would be to use `calc()`: `v(calc(1px + 2em + 3pt))`.

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


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

Received on Tuesday, 24 February 2026 12:33:41 UTC