Skip to content

Commit

Permalink
[css-color-4] Consistently return output of GMA in the destination co…
Browse files Browse the repository at this point in the history
…lor space #9651
  • Loading branch information
svgeesus committed Dec 15, 2023
1 parent c493601 commit e590653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css-color-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5469,7 +5469,7 @@ Sample Pseudocode for the Binary Search Gamut Mapping Algorithm with Local MINDE
to be in gamut of a destination color space |destination|:

<ol>
<li>if |destination| has no gamut limits (XYZ-D65, XYZ-D50, Lab, LCH, Oklab, Oklch) return |origin|
<li>if |destination| has no gamut limits (XYZ-D65, XYZ-D50, Lab, LCH, Oklab, Oklch) convert |origin| to |destination| and return it as the gamut mapped color
<li>let |origin_Oklch| be |origin| converted
from |origin color space| to the Oklch color space</li>
<li>if the Lightness of |origin_Oklch| is greater than or equal to 100%,
Expand Down

0 comments on commit e590653

Please sign in to comment.