[csswg-drafts] Pull Request: [css-values-5] Fix and rename random grammar

cdoublev has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-values-5] Fix and rename random grammar ==
The [`random-*()`](https://drafts.csswg.org/css-values-5/#random) grammar is slightly broken since 33682af.

They now take a [`<random-key>`](https://drafts.csswg.org/css-values-5/#typedef-random-key) argument renamed from `<random-cache-key>`. It still produces `auto | <random-name> | fixed <number [0,1)>` but `<random-name>` is left undefined, because its definition and production rule now use `<random-cache-key>`, which was probably not intentional.

This PR tries to fix this but since `fixed <number [0,1)>` is not a random (cache) key but a random base value, and since `auto` produces but is not a random name, and resolves to a random base value, I suggest to introduce `<random-base-value>` to replace `<random-key>`.

See https://github.com/w3c/csswg-drafts/pull/13827


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

Received on Monday, 20 April 2026 06:03:27 UTC