- From: Xiaocheng Hu via GitHub <sysbot+gh@w3.org>
- Date: Fri, 01 Mar 2024 05:08:42 +0000
- To: public-css-archive@w3.org
> What happens when it's used in a calc, like width: calc(anchor-size(--bad-ref width) + 20px)? I found the answer myself. `calc-size(auto)` works here. (I was away for a few months and missed so much progress...) > More specifically, it should trigger the "behaves as auto" behavior that things like cyclic percentages do. It's a bit different from my mental model that a `calc()` should always keep going (like division-by-zero becomes `infinity`), and invalid values are resolved only at the top level. Or are there existing examples where a `calc()` can be invalidated as long as part of it is invalid, in case I missed something? -- GitHub Notification of comment by xiaochengh Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10005#issuecomment-1972519198 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 1 March 2024 05:08:43 UTC