- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Fri, 23 Aug 2024 18:38:50 +0000
- To: public-css-archive@w3.org
Why would that not be allowed? Again referring to ["type of a calculation"](https://drafts.csswg.org/css-values-4/#determine-the-type-of-a-calculation), that `sin()` argument has the type {"angle" -> 1} with a percent hint of "angle". That's valid for the `sin()` function, as it [matches](https://drafts.css-houdini.org/css-typed-om-1/#cssnumericvalue-match) `<angle>`. `sin()` then resolves to the empty type {} with a percent hint of "angle", we multiply that by an angle, and end up with `calc()` having the type {"angle" -> 1} with a percent hint of "angle" again. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10765#issuecomment-2307616071 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 23 August 2024 18:38:51 UTC