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

@Loirooriol - Good points, updated the maths. 

@Crissov - I think my only concern with only implementing random sets by itself is that invariably someone will end up needing to list something out like `random(0,1, 2, 3, 4, 5... 358, 359)` or similar. That said, it's certainly better than no implementation (And the more likely hack that's less verbose is to random() a sufficient list of decimals and multiply that in a calc() function). It's mentioned in #4688 that 

> random() can't be done; it's a totally different topic.

Is there anywhere that expands on that?

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

Received on Friday, 24 January 2020 17:08:39 UTC