- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Mon, 11 Jul 2022 14:20:00 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-values-4] Incorrect resolved type of math functions representing `<number>` == In CSS Values 4, [10.9. Type Checking](https://drafts.csswg.org/css-values-4/#calc-type-checking): > Math functions themselves have types, according to their contained calculations: > > - [...] > - The type of a `sign()` expression is `«[ "number" → 1 ]»`. > - The type of a `sin()`, `cos()`, or `tan()` expression is `«[ "number" → 1 ]»`. > - [...] > - The type of a `pow()`, `sqrt()`, `log()`, or `exp()` expression is `«[ "number" → 1 ]»`. > - [...] > > For each of the above, if the [type](https://drafts.css-houdini.org/css-typed-om-1/#cssnumericvalue-type) is failure, the [math function](https://drafts.csswg.org/css-values-4/#math-function) is invalid. I do not understand the type defined for these functions. I expect ``«[ ]»`` because from [CSS Typed OM](https://drafts.css-houdini.org/css-typed-om-1/#cssnumericvalue-match): > A type matches `<number>` if it has no non-zero entries and its percent hint is null. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7486 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 11 July 2022 14:20:05 UTC