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

I lean towards a new generic function as well. If `;` were allowed as a function argument separator, I could see problems stemming from the inability to put `;` in a variable value. I couldn't come up with a realistic example, but here's a contrived one:

```
.foo { background-image: mix(50%; var(--mix-or-toggle-me)); }

.bar { background-image: toggle(var(--mix-or-toggle-me)); }

:root {
  --bg-a: url(1.png), url(2.png);
  --bg-b: url(3.png), url(4.png);
  --mix-or-toggle-me: var(--bg-a);var(--bg-b); /* oops */
}
```

-- 
GitHub Notification of comment by kbabbitt
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9539#issuecomment-1915987230 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 03:00:23 UTC