Skip to content

Commit 0674822

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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
  • set |clipped| to clip(|current|)
  • 54785478
  • set |E| to delta(|clipped|, |current|)
  • 54795479
  • if |E| < |JND|
  • 5480-
      5480+
      return |clipped| as the gamut mapped color
      5481+
      54895490
      54905491
    1. otherwise, set |max| to |chroma| and continue to repeat these steps
    2. 54915492

      0 commit comments

      Comments
       (0)