Re: [csswg-drafts] [css-values] Consider requiring same relative <length> units in atan2() (#8169)

> Unless this is extremely useful, it might be worth restricting relative lengths to enforce same-unit-ness.

In this case the units would be useless because `atan2(X, Y)` = `atan2(Xunit, Yunit)`:
```css
rotate: atan2(12, 7)     /* = 1.04272rad */
rotate: atan2(12%, 7%)   /* = 1.04272rad */
rotate: atan2(12em, 7em) /* = 1.04272rad */
rotate: atan2(12vw, 7vw) /* = 1.04272rad */
rotate: atan2(12ms, 7ms) /* = 1.04272rad */
...
```


-- 
GitHub Notification of comment by yukulele
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8169#issuecomment-1346470071 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 12 December 2022 13:12:09 UTC