- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 16 Jan 2025 17:20:31 +0000
- To: public-css-archive@w3.org
@LeaVerou I don't think I agree, at least not without a *lot* more support for list handling. *None* of the things you described appear to be doable in CSS even with a list type; they all require looping, variable assignment, etc. We'd have to introduce more functions to represent these operations. And if we did introduce these additional functions, they don't, as far as I can tell, require any special "list" type; they can all be handled just fine by the existing infrastructure of "lists" being a convention for comma-separated items. Custom functions can take lists as an argument without any additional input from us (the caller would just wrap the list in `{}`, and the function can either splat it into another function directly or wrap it in more `{}` to re-group it if needed). Built-in functions haven't yet needed to worry about expressing lists as anything other than an n-ary set of arguments, but if we ever do, the same `{}` syntax works. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11103#issuecomment-2596292338 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 16 January 2025 17:20:31 UTC