Re: [csswg-drafts] [css-values-5] seeded random values (#12072)

Making the random values change on page load is definitely an intentional design decision for now, but allowing that aspect of the caching key to be overridden (currently there's no way to interacte with it) is definitely a possibility. 

Something like adding a `seed <string>` to the sharing options, perhaps; you can use either JS or server-side code to set up a seed value in a variable on the root and then use that everywhere you're doing random stuff. (Or if you wanted it constant on every page, you can just put it into your static styles.)

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


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

Received on Friday, 2 May 2025 19:47:34 UTC