- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Tue, 05 Mar 2024 05:16:30 +0000
- To: public-css-archive@w3.org
The return value type of [`random()`](https://drafts.csswg.org/css-values-5/#funcdef-random) should probably be consistent. ```diff All of the [=calculation=] arguments can resolve to any <<number>>, <<dimension>>, or <<percentage>>, - but must have the <em>same</em> [=determine the type of a calculation|type=], or else the function is invalid; - the result will have the same type as the arguments. + but must have a [=consistent type=], or else the function is invalid; + the result's type will be the [=consistent type=]. ``` And `<percentage>` should probably be `<percentage-token>` in the production rule of [`<progress>`](https://drafts.csswg.org/css-values-5/#typedef-progress) (which should probably only allow omitting easing). ```diff - <progress> = [ <percentage> | <number> | <'animation-timeline'> ]? && by <easing-function> + <progress> = [ <percentage-token> | <number> | <'animation-timeline'> ] [ by <easing-function> ]? ``` -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10017#issuecomment-1977984271 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 5 March 2024 05:16:31 UTC