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

I think 0.1% works as a good range, with a floor of "minimum value greater than zero" if that's too small to be represented in the numeric type you're using (like "layout units" that are 1/60 of a px; 16px/1000 is less than a layout unit, 8px/1000 is less than half of one). Lengths pretty much max out, in practical use, in the low thousands of px, so even in *extreme* realistic cases this would give a wiggle room of a few px at most.

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


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

Received on Monday, 10 March 2025 18:32:59 UTC