- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Thu, 23 Jan 2025 22:39:56 +0000
- To: public-css-archive@w3.org
Fair, one can always do a fallback with a separate variable: ```css --name: ident(--color- var(--color)); background: var(var(--name, --color-blue)); ``` That said… > In general, CSS functions don't guard against the possibility of some argument being invalid from a nonsense var() substitution. I'm not seeing anything special about ident() that would make it more necessary to add special handling. I've often needed fallbacks for `calc()`, so this may not be such a bad idea. But shouldn't be a blocker for `ident()`. -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11424#issuecomment-2611161870 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 23 January 2025 22:39:56 UTC