- From: fantasai via GitHub <noreply@w3.org>
- Date: Tue, 27 Jan 2026 19:16:07 +0000
- To: public-css-archive@w3.org
Expanding the examples to consider shorthands:
```
.random-rect {
size: random(100px, 200px) random(100px, 200px); /* or */
width: random(100px, 200px); height: random(100px, 200px);
}
.random-squares {
size: random(100px, 200px); /* or */
size: random(--foo 100px, 200px) random(--foo 100px, 200px); /* or */
width: random(--foo, 100px, 200px); height: random(--foo, 100px, 200px);
}
.shared-random-rect {
size: random(all-elements, 100px, 200px) random(all-elements, 100px, 200px); /* or */
width: random(all-elements, 100px, 200px); height: random(all-elements, 100px, 200px);
}
.shared-random-squares {
size: random(all-elements, 100px, 200px); /* or */
size: random(--foo all-elements, 100px, 200px) random(--foo all-elements, 100px, 200px); /* or */
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-3807039120 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:16:07 UTC