Re: [csswg-drafts] [css-values-5] Make UA, not author, deal with floating point errors in random() (#11864)

Do all examples involve wanting to evenly divide a range by some integer amount? If so, another possible solution here would be to add an alternative to explicit step size with `by`, and instead have an explicit option (below with the strawman keyword `chunks`:

` random(100px, 200px, chunks 4)`


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


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

Received on Wednesday, 19 March 2025 15:59:33 UTC