Re: [csswg-drafts] [css-values-5] The `<random-value-sharing>` options for `random()` are confusing (#13132)

If we keep the current mental model, we definitely need to improve the keyword as it is clearly confusing. What about `all-elements`? Expanding the table:

```
.random-rect {   width: random(100px, 200px);   height: random(100px, 200px); } 
.random-squares {   width: random(--foo, 100px, 200px);   height: random(--foo, 100px, 200px); } 
.shared-random-rect {     width: random(all-elements, 100px, 200px);     height: random(all-elements, 100px, 200px); } 
.shared-random-squares {     width: random(--foo all-elements, 100px, 200px);     height: random(--foo all-elements, 100px, 200px); }
```


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


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

Received on Tuesday, 27 January 2026 19:10:58 UTC