Skip to content

Commit 510e87e

Browse files
committed
[css-color] Improve visibility of the constraint that shorter is the default he interpolation method
1 parent af08cb6 commit 510e87e

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

css-color-4/Overview.bs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4933,6 +4933,10 @@ Color Space for Interpolation</h3>
49334933
interpolation should take place in,
49344934
it defaults to Oklab.
49354935

4936+
For a <<polar-color-space>>
4937+
if the [=hue-interpolation-method=] is not specified,
4938+
it defaults to [=shorter=].
4939+
49364940
However, user agents <em>must</em> handle interpolation
49374941
between legacy sRGB color formats
49384942
(hex colors, named colors,
@@ -7896,7 +7900,10 @@ Changes</h2>
78967900
<a href="https://www.w3.org/TR/2025/CRD-css-color-4-20250424/">Candidate Recommendation Draft of 24 April 2025</a></h3>
78977901

78987902
<ul>
7899-
<!-- to 10 April 2026 -->
7903+
<!-- to 13 April 2026 -->
7904+
<li>Clarified in the main Color interpolation section that, if the hue interpolaton method is not specified, shorter is the default. (This was already specified in the Hue Interpolation section).
7905+
(<a href="https://github.com/w3c/csswg-drafts/issues/13788">Issue 13788</a>)
7906+
</li>
79007907
<li>Expanded the concept of analogous components to analogous sets of components, to minimize ''none''''0'' conversions
79017908
(<a href="https://github.com/w3c/csswg-drafts/issues/10210">Issue 10210</a>)
79027909
</li>

css-color-5/Overview.bs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2939,7 +2939,9 @@ or any other color or monochrome output device which has been characterized.
29392939
<h3 id="interpolation-space">
29402940
Color Space for Interpolation</h3>
29412941

2942-
The <<color-interpolation-method>> is extended to allow use of the
2942+
The <<color-interpolation-method>>,
2943+
as defined in [[css-color-4#interpolation-space]],
2944+
is extended to allow use of the
29432945
<a href="#custom-color">custom color spaces</a>:
29442946

29452947
<pre class='prod'>
@@ -3859,6 +3861,10 @@ This specification adds a way to ensure adequate contrast for text whose backgro
38593861
</h3>
38603862

38613863
<ul>
3864+
<li>Added a backlink from Color Interpolation in this specification,
3865+
to the same section in CSS Color 4 where most of this is defined
3866+
(<a href="https://github.com/w3c/csswg-drafts/issues/13788">Issue 13788</a>)
3867+
</li>
38623868
<li>Added a second form of the light-dark() function,
38633869
which takes a pair of images rather than a pair of colors
38643870
(<a href="https://github.com/w3c/csswg-drafts/issues/12513">Issue 12513</a>)

0 commit comments

Comments
 (0)