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

Well, let me just tweak it a bit: `cursor: toggle(url(icon1.ico), pointer, url(icon2.ico), move)`.

This is not ambiguous (1st value must be `url(icon1.ico), pointer`, 2nd value must be `url(icon2.ico), move`), but I don't think it should be allowed with that meaning. Somebody who is not familiar with the grammar of `cursor` will probably assume it means `toggle(url(icon1.ico); pointer; url(icon2.ico); move)`. And even if not likely, we will have a problem if at some point we decide to relax the grammar to allow lone urls.

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


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

Received on Tuesday, 21 November 2023 20:46:39 UTC