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

Were you aware of this before your resolution? Ie. that functions taking comma-containing productios would not be able to take both single component values and comma-separated lists of component values?

`transition: toggle(opacity 300ms; translate 300ms, opacity 200ms)` is the most relevant use case that comes to mind.

It may also be usefull with `first-valid()` and a property that was upgraded to accept a comma-separated repetition of its value, but I cannot find one though. `mix()` would not be able to represent an interpolation between a single component value and a list of component values, but I am not sure I totally understand its purpose.

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


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

Received on Thursday, 18 April 2024 08:58:27 UTC