- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Sun, 30 Jun 2024 11:10:52 +0000
- To: public-css-archive@w3.org
`calc(100vw / 375px)` should match `<number> | <integer>` but I do not think browsers support division/multiplication of dimensions at the moment. > In previous versions of this specification, multiplication and division were limited in what arguments they could take, to avoid producing more complex intermediate results (such as 1px * 1em, which is [<length>](https://drafts.csswg.org/css-values-4/#length-value)²) and to make division-by-zero detectable at parse time. This version now relaxes those restrictions. https://drafts.csswg.org/css-values-4/#calc-type-checking -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10511#issuecomment-2198524851 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 30 June 2024 11:10:53 UTC