- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Wed, 07 Aug 2024 12:53:43 +0000
- To: public-css-archive@w3.org
@tabatkins Functions don't have a way to provide a fallback value (yet?) _at the call site_, for cases where they don't return a value (or don't exist). Like I said in https://github.com/w3c/csswg-drafts/issues/10562#issuecomment-2273283779, we can do it with indirection via a custom property, but it's not very ergonomic. Something like `fallback(--mayberesult(), 42px)` could be better. -- GitHub Notification of comment by andruud Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9990#issuecomment-2273404416 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 7 August 2024 12:53:44 UTC