- From: Sam Atkins via GitHub <sysbot+gh@w3.org>
- Date: Wed, 05 Jul 2023 16:38:25 +0000
- To: public-css-archive@w3.org
AtkinsSJ has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-values-4] Wrong determined type for asin, acos, atan, and atan2 == In https://drafts.csswg.org/css-values-4/#calc-type-checking, the determined types of all of the trigonometric functions are specified here: > [sign()](https://drafts.csswg.org/css-values-4/#funcdef-sign) [sin()](https://drafts.csswg.org/css-values-4/#funcdef-sin) [cos()](https://drafts.csswg.org/css-values-4/#funcdef-cos) [tan()](https://drafts.csswg.org/css-values-4/#funcdef-tan) [asin()](https://drafts.csswg.org/css-values-4/#funcdef-asin) [acos()](https://drafts.csswg.org/css-values-4/#funcdef-acos) [atan()](https://drafts.csswg.org/css-values-4/#funcdef-atan) [atan2()](https://drafts.csswg.org/css-values-4/#funcdef-atan2) [pow()](https://drafts.csswg.org/css-values-4/#funcdef-pow) [sqrt()](https://drafts.csswg.org/css-values-4/#funcdef-sqrt) [log()](https://drafts.csswg.org/css-values-4/#funcdef-log) [exp()](https://drafts.csswg.org/css-values-4/#funcdef-exp) > `«[ ]»` (empty map). This means that `asin()`, `acos()`, `atan()`, and `atan2()` will all claim to return a `<number>`, when they actually return an `<angle>`. I believe these four should all return `«[ "angle" → 1 ]»` instead. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9034 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 5 July 2023 16:38:27 UTC