Re: [csswg-drafts] [css-values-4] <angle> needs clamping details for degenerated values (#6105)

> Now I will work <angle> but the spec doesn't specify how to clamp for <angle> type for infinity and -infinity (also NaN).

Angles with `NaN` should be left as-is. This is depended on by some specifications. For example in CSS Color 4, [`NaN` may be used for indeterminate hue angles](https://drafts.csswg.org/css-color-4/#hue-syntax) (colors which are super close to the neutral axis). 

And CSS Color 4 [also defines](https://drafts.csswg.org/css-color-4/#hue-interpolation) interpolation between hue angles, when one is `NaN`.

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


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

Received on Wednesday, 17 March 2021 16:36:52 UTC