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

> We can even say it has a special keyword of its own that makes it clear it's not for author use, like random(ua-resolved-value 0.5, 100px, 200px) or something.

I don't see this keyword as helpful. We either just allow the number directly, we compute this to a `-map()` function, or we say that `getComputedStyle()` returns the unresolved random and assigning the value back gets you a new random. (I don't think this would be entirely unexpected, tbh.)

(Tangential point: we should make sure `map()` and `random()` syntaxes are aligned.)

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


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

Received on Friday, 7 March 2025 19:20:43 UTC