You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Correct; I might have written that when the functions were defined just over radians? Or I just messed up. Anyway yeah, the arc functions should return angles.
The wront type is from cc71452, which fixed #7486. Sorry, because I continued to expect these functions to output an angle but I did not spot the mistake.
In https://drafts.csswg.org/css-values-4/#calc-type-checking, the determined types of all of the trigonometric functions are specified here:
This means that
asin()
,acos()
,atan()
, andatan2()
will all claim to return a<number>
, when they actually return an<angle>
. I believe these four should all return«[ "angle" → 1 ]»
instead.The text was updated successfully, but these errors were encountered: