Skip to content

Commit

Permalink
[css-color-4] Correct bug in GMA, #7135
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Jul 5, 2022
1 parent ee66d7e commit c55700b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion css-color-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5575,7 +5575,7 @@ Sample Pseudocode for the Binary Search Gamut Mapping Algorithm with Local MINDE
<li>set |E| to delta(|clipped|, |current|)</li>
<li>if |E| < |JND|
<ol>
<li>if (|E| - |JND| < |epsilon|) return |clipped| as the gamut mapped color</li>
<li>if (|JND| - |E| < |epsilon|) return |clipped| as the gamut mapped color</li>
<li>otherwise,
<ol>
<li>set |min_inGamut| to false</li>
Expand All @@ -5589,6 +5589,7 @@ Sample Pseudocode for the Binary Search Gamut Mapping Algorithm with Local MINDE
</li>
</ol>
</li>
<li>return |current| as the gamut mapped color</li>
</ol>


Expand Down

0 comments on commit c55700b

Please sign in to comment.