- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 01 Mar 2024 15:12:49 +0000
- To: public-css-archive@w3.org
@cdoublev See the explanation in https://drafts.csswg.org/css-values/#exponent-funcs "Why does [hypot()](https://drafts.csswg.org/css-values/#funcdef-hypot) allow dimensions (values with units), but [pow()](https://drafts.csswg.org/css-values/#funcdef-pow) and [sqrt()](https://drafts.csswg.org/css-values/#funcdef-sqrt) only work on numbers?" It's not even clear what sine and friends would do with a dimension (other than an angle, with is dimensionless in math) That said, things like `height: sqrt(50% / 1px)` should work, so making the type consistent preserves the percent hint. I think Tab forgot about `log()` and `exp()`. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10017#issuecomment-1973366955 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 1 March 2024 15:12:50 UTC