[csswg-drafts] [css-values-5] Receive comma-separated arguments in `*-progress()` (#10862)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-5] Receive comma-separated arguments in `*-progress()` ==
All [math](https://drafts.csswg.org/css-values-4/#calc-syntax) and [mix](https://drafts.csswg.org/css-values-5/#mixing) functions receive comma-separated arguments whereas [progress functions](https://drafts.csswg.org/css-values-5/#progress) receive keyword-separated arguments.

What is the reason for this difference? Does this makes up for the inconsistent and more verbose syntax, which is somewhat unusual for a CSS function?

Nit: since progress functions can be used in math functions, which are internally represented with a calculation tree, you can no longer assume that any operator node representing a function (assuming progress functions are represented as operators) should serialize with its values joined with `, `; this information must be preserved.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10862 using your GitHub account


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

Received on Tuesday, 10 September 2024 12:20:45 UTC