Re: [csswg-drafts] [css-values-5][various] Better handling of arguments with commas (#9539)

I noticed in the agenda that this issue is mentioned alongside https://github.com/w3c/csswg-drafts/issues/6705, but neither issue contains an explicit link to another, so I feel it is worth it to mention it explicitly here, as they essentially talk about the same thing.

Regarding the potential solution, I would prefer the `value()` or `item()` (or any other function) to any syntax-only way. Most of my arguments for this were already mentioned above, but to re-iterate:

1. I don't like the modality of the `;` vs `,`. It might really be confusing for authors, and it won't be trivial to search for “what is this syntax?”.
2. I don't like the `[]`, `{}` etc, for similar reason, plus I don't like the confusion with the `[]` from the grid syntax.
3. Given this new language feature is required only for edge-cases, I am fine with the syntax being more verbose like with `value()`: if we can keep most of the use cases clear and simple, then it is ok to have the edge-case more verbose.


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


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

Received on Tuesday, 27 February 2024 15:46:02 UTC