Re: [csswg-drafts] [css-values-5] Names of the random-name keywords (#13601)

I think these names are fine.

-----

There isn't really any hint as to what the keywords do or why they are there.
So it isn't possibly to intuit that these are inputs for a caching key.

`random in this property` vs. `cached in this property`

But any idea I have is fairly verbose:
- `random(cache-key(--foo element), 1, 10)`
- `random(key(--foo element), 1, 10)`
- `random(cached --foo element, 1, 10)`
- `random(--foo cached-per-element, 1, 10)`

This is also why I think the proposal above is ok.
Making the feature self documenting seems to make it very verbose and a lot of CSS has syntax that authors lookup every time they use it.

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


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

Received on Thursday, 5 March 2026 18:24:13 UTC