Re: [csswg-drafts] [css-values] Proposal: `round()` to a finite scale (#11067)

Actually, thinking about this _even more_, `round()` may not be the best solution, but it _would_ actually work for the use cases I described above, since we have control over whether we round down or up, so getting the next item is just a matter of adding a small amount and rounding up (and similarly for rounding down).

It may not help with all use cases, but if it's easy-ish to implement, I think it could help with a lot of things. We should definitely _not_ just specify the values inline though, and define some sort of `list()` primitive that can be expanded later.

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


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

Received on Monday, 6 January 2025 19:22:47 UTC