Skip to content

Commit

Permalink
[css-color-4] When interpolating, always convert colorspace, so that …
Browse files Browse the repository at this point in the history
…powerless components become missing #8609
  • Loading branch information
svgeesus committed Jan 29, 2024
1 parent 461e559 commit 1b3a4bf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions css-color-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4480,8 +4480,11 @@ Color Interpolation</h2>

<ol>
<li>checking the two colors for [=analogous components=] which will be carried forward</li>
<li>(if required) converting them to a given color space
which will be referred to as the <dfn export>interpolation color space</dfn> below</li>
<li>converting them to a given color space
which will be referred to as the <dfn export>interpolation color space</dfn> below.
If one or both colors are already in the interpolation colorspace,
this conversion changes any [=powerless=] components to [=missing=] values
</li>
<li>(if required) re-inserting carried-forward values in the converted colors</li>
<li>(if required) fixing up the hues, depending on the selected <<hue-interpolation-method>></li>
<li>changing the color components to premultiplied form</li>
Expand Down

0 comments on commit 1b3a4bf

Please sign in to comment.