- From: Natalie Weizenbaum via GitHub <sysbot+gh@w3.org>
- Date: Fri, 02 Feb 2024 23:37:07 +0000
- To: public-css-archive@w3.org
> (I'm imagining `<calc-length>` is a new term you can use on argument types, to indicate you want a length but allow a raw calculation, so users don't need to write `--foo(calc(1em + 1px), 5rad)`. It wouldn't be allowed for return types, as it's not meaningfully different from `<length>` there. This would make any kind of low-context parsing a _nightmare_ for tooling like Sass, for what it's worth. The saving grace of calculation syntax right now is that it only appears in consistent, easily-recognizable contexts. It would probably mean that we have to pessimistically treat _all_ plain-CSS function calls as effectively string quotes, which would be a severe usability hit. -- GitHub Notification of comment by nex3 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9350#issuecomment-1924906579 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 2 February 2024 23:37:10 UTC