We currently normalize hues (for CSS color functions hsl(), hwb(), lch(), and oklch()) to aggressively, and should instead be deferring normalization (hue % 360) until necessary, either because a conversation or interpolation method requires it. This should allow us to implement the "specified" hue interpolation method, which allows for the hue to circle the spectrum multiple times if necessary (i.e. 0 -> 720 would be two revolutions).
Created attachment 462553 [details] Test case
Created attachment 462554 [details] Existing top / With fix bottom
<rdar://problem/100344615>
Pull request: https://github.com/WebKit/WebKit/pull/4654
Committed 254833@main (cf0675f3297a): <https://commits.webkit.org/254833@main> Reviewed commits have been landed. Closing PR #4654 and removing active labels.