Skip to content

Commit 10573c9

Browse files
committed
[css-color-4] Remove hue interpolation 'specified', fix w3c#7750
1 parent f6c95c4 commit 10573c9

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

css-color-4/Overview.bs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4367,7 +4367,7 @@ Color Space for Interpolation</h3>
43674367
<dfn export>&lt;color-space></dfn> = &lt;rectangular-color-space> | &lt;polar-color-space>
43684368
<dfn export>&lt;rectangular-color-space></dfn> = ''srgb'' | ''srgb-linear'' | ''lab'' | ''oklab'' | ''xyz'' | ''xyz-d50'' | ''xyz-d65''
43694369
<dfn export>&lt;polar-color-space></dfn> = ''hsl'' | ''hwb'' | ''lch'' | ''oklch''
4370-
<dfn export>&lt;hue-interpolation-method></dfn> = [ shorter | longer | increasing | decreasing | specified ] hue
4370+
<dfn export>&lt;hue-interpolation-method></dfn> = [ shorter | longer | increasing | decreasing ] hue
43714371
<dfn export id="color-interpolation-method">&lt;color-interpolation-method></dfn> = in [ <<rectangular-color-space>> | <<polar-color-space>> <<hue-interpolation-method>>? ]
43724372
</pre>
43734373

@@ -4725,8 +4725,7 @@ Hue Interpolation</h3>
47254725
Specifying a hue interpolation strategy is already part of the <<color-interpolation-method>> syntax
47264726
via the <<hue-interpolation-method>> token.
47274727

4728-
Unless the type of hue interpolation is ''specified'',
4729-
both angles and their difference need to be constrained to [0, 360] prior to interpolation.
4728+
Both angles and their difference need to be constrained to [0, 360] prior to interpolation.
47304729
To do this, the minimum number of turns that fit in the lesser angle
47314730
is added or subtracted from both angles,
47324731
bringing the lesser angle into the range [0,360);
@@ -4793,10 +4792,6 @@ Hue Interpolation</h3>
47934792
}
47944793
</pre>
47954794

4796-
<h4 id="hue-specified">
4797-
<dfn export>specified</dfn></h4>
4798-
4799-
No fixup is performed. Angles are interpolated in the same way as every other component.
48004795

48014796
<!--
48024797
██████ ██ ██ ███

0 commit comments

Comments
 (0)