- From: kyr0 via GitHub <sysbot+gh@w3.org>
 - Date: Thu, 12 Dec 2024 22:26:36 +0000
 - To: public-css-archive@w3.org
 
> From a language and grammar perspective, it's terribly inconsistent.
@matthew-dean @mirisuzanne I second that. Introducing a new sub-grammar for this use-case seems inconsistent indeed. 
If we're talking inconsistencies in lists, the following solution comes to mind:
`output: --custom-font-fn(Arial, sans-serif);`
`output: --custom-font-fn("Some Font with Spaces", sans-serif);`
`output: --custom-font-fn("Some Font, with Spaces, and comma", sans-serif);`
`output: --custom-font-fn(var(--some-font-defined-by-some-var), sans-serif);`
`output: --custom-font-fn(--another-custom-fn(var(--some-font-defined-by-some-var)), sans-serif);`
I think this is the straight-forward way.
Did I overlook something? It seems quite consistent and in-line with the existing syntax?
-- 
GitHub Notification of comment by kyr0
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9350#issuecomment-2540134771 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 12 December 2024 22:26:37 UTC