Re: [csswg-drafts] [css-values-5] Maybe min, max and step should not be part of the random-caching-key (#11742)

The issue is that if min/max/step *aren't* included, then it exposes details of exactly how you generate the random value.

To avoid that, I'd have to specify that the random value is, specifically, a 0-1 real, and then specify exactly how it's turned into the random value.  (aka, scaled to the desired range, or converted to a 0-N integer for the step)

I definitely *could* do that, and it would avoid some other oddities (like `1em` and `16px` potentially being the same caching key). It just might slightly restrict how you can actually generate the random value a bit.

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


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

Received on Wednesday, 19 February 2025 01:30:39 UTC