Skip to content

Commit c55700b

Browse files
committed
[css-color-4] Correct bug in GMA, #7135
1 parent ee66d7e commit c55700b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-color-4/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5575,7 +5575,7 @@ Sample Pseudocode for the Binary Search Gamut Mapping Algorithm with Local MINDE
55755575
<li>set |E| to delta(|clipped|, |current|)</li>
55765576
<li>if |E| < |JND|
55775577
<ol>
5578-
<li>if (|E| - |JND| < |epsilon|) return |clipped| as the gamut mapped color</li>
5578+
<li>if (|JND| - |E| < |epsilon|) return |clipped| as the gamut mapped color</li>
55795579
<li>otherwise,
55805580
<ol>
55815581
<li>set |min_inGamut| to false</li>
@@ -5589,6 +5589,7 @@ Sample Pseudocode for the Binary Search Gamut Mapping Algorithm with Local MINDE
55895589
</li>
55905590
</ol>
55915591
</li>
5592+
<li>return |current| as the gamut mapped color</li>
55925593
</ol>
55935594

55945595

0 commit comments

Comments
 (0)