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

Putting this up on the F2F agenda to discuss. Summarizing the two options:

1. Remove the `;` separator idea. Instead, use some variety of wrapper for the rare cases when you need to provide a value that is, itself, comma-separated. Options:
    1. Use `[]`, like in Grid to wrap line groups.
    2. Use `{}`. (Syntax now disallows `{}` at the top-level, but these will be inside of a function, and thus possible.)
    3. Use `item()` or a similar generically-named function.
2. Make `;` an *optional upgrade*. All functions continue to use `,` as the argument separator, but *also* allow using `;` as a separator. When parsing, assume that `,` is the argument separator at first, but if a top-level `;` is encountered in the function value, re-parse using `;` as the argument separator instead.

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


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

Received on Tuesday, 30 January 2024 22:33:21 UTC