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

One question with either approach— if someone wants to populate some items into their list that are contained in a variable, is there a way to spread them into the `random` function to distinguish whether the CS variable itself is a value or the items it contains are?

For example, how would this be treated:

```css
* {
  --multiple-items: 1, 2, 3, 4, 5;
  --single-item: 6;
  some-prop: random-item(var(--multiple-items), var(--multiple-items));
}
```

Would this return either (`1, 2, 3, 4, 5`) or (`6`), or any of those 6 values: `1`, `2`, `3`, `4`, `5`, or `6`?

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


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

Received on Wednesday, 25 January 2023 07:56:27 UTC