Re: [csswg-drafts] [css-values] random() function (#2826)

@brandonmcconnell Note the `per-element` keyword, which'll get you a different value on each element. No need to create unique idents for every single element when we already have a useful source of uniqueness!

If you want a different value on a *single* element sometimes, we'd need to pin down precisely when that's recalculated, and *that's* a much more complicated issue that we probably want to just punt to JS for. The grammar still allows us to add more possibilities in the future, tho.

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


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

Received on Wednesday, 27 July 2022 16:02:58 UTC