Skip to content

Commit b399c10

Browse files
committed
[css-color-4] Removed redundant constraining of hue angles to [0,360] this is already done. Fix w3c#9335
1 parent 0466458 commit b399c10

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

css-color-4/Overview.bs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4968,14 +4968,6 @@ Hue Interpolation</h3>
49684968
Specifying a hue interpolation strategy is already part of the <<color-interpolation-method>> syntax
49694969
via the <<hue-interpolation-method>> token.
49704970

4971-
Both angles and their difference need to be constrained to [0, 360) prior to interpolation.
4972-
To do this, the minimum number of turns that fit in the lesser angle
4973-
is added or subtracted from both angles,
4974-
bringing the lesser angle into the range [0,360);
4975-
and if the difference between them is greater than or equal to 360&deg;
4976-
then the minimum number of turns to bring the difference into the range [0,360)
4977-
is further subtracted from the greater angle.
4978-
49794971
Unless otherwise specified, if no specific hue interpolation algorithm is selected by the host syntax, the default is ''shorter''.
49804972

49814973
<wpt>

0 commit comments

Comments
 (0)