Skip to content

Commit 0674822

Browse files
committed
[css-color-4] Optimize-out un-needed steps in gma
1 parent 99001d4 commit 0674822

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

css-color-4/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5477,15 +5477,16 @@ Sample Pseudocode for the Binary Search Gamut Mapping Algorithm with Local MINDE
54775477
<li>set |clipped| to clip(|current|)</li>
54785478
<li>set |E| to delta(|clipped|, |current|)</li>
54795479
<li>if |E| < |JND|
5480-
<ol>
5480+
return |clipped| as the gamut mapped color
5481+
<!-- <ol>
54815482
<li>if (|JND| - |E| < |epsilon|) return |clipped| as the gamut mapped color</li>
54825483
<li>otherwise,
54835484
<ol>
54845485
<li>set |min_inGamut| to false</li>
54855486
<li>set |min| to |chroma|</li>
54865487
</ol>
54875488
</li>
5488-
</ol>
5489+
</ol> -->
54895490
</li>
54905491
<li>otherwise, set |max| to |chroma| and continue to repeat these steps</li>
54915492
</ol>

0 commit comments

Comments
 (0)