- From: andruud via GitHub <noreply@w3.org>
- Date: Thu, 06 Nov 2025 10:37:34 +0000
- To: public-css-archive@w3.org
I agree `attr(foo cool-new-unit, fallback)` seems quite similar to `env(cool-new-env, fallback)`. Note: both `env()` and units can be author-defined (in the future): - https://drafts.csswg.org/css-link-params/#using (env()) - https://drafts.csswg.org/css-variables-2/#variable-units (units) Obviously, `env(--unknown-env, fallback)` should take the fallback, so probably `attr(foo --unknown-unit, fallback)` should take the fallback too. At that point, `attr(foo unknown-unit, fallback)` _not_ taking the fallback starts to look inconsistent. -- GitHub Notification of comment by andruud Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13060#issuecomment-3496470572 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 6 November 2025 10:37:36 UTC