Re: [csswg-drafts] [css-images] simplify the syntax of `image-set()` (#7662)

I think it would be strictly worse to manually list all the `<image>` variants excluding `<image-set()>` specifically; we'd have to keep that list up to date over time. Such a grammar wouldn't actually reproduce the behavior currently stated in the spec prose, anyway - I'd have to define variants of some of the other functions, like `<image-set-cross-fade>`, that had a similar explicit list. All in all it would be a horrendous mess.

Do you have a specific reason to want this restriction expressed in the grammar rather than in prose?

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


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

Received on Wednesday, 7 September 2022 22:03:26 UTC