From 06748226bb73a7fee401ba0d00c4e4655ec17555 Mon Sep 17 00:00:00 2001 From: Chris Lilley Date: Tue, 21 Nov 2023 19:42:14 -0500 Subject: [PATCH] [css-color-4] Optimize-out un-needed steps in gma --- css-color-4/Overview.bs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/css-color-4/Overview.bs b/css-color-4/Overview.bs index e0f788deae70..71a30b92d055 100644 --- a/css-color-4/Overview.bs +++ b/css-color-4/Overview.bs @@ -5477,7 +5477,8 @@ Sample Pseudocode for the Binary Search Gamut Mapping Algorithm with Local MINDE
  • set |clipped| to clip(|current|)
  • set |E| to delta(|clipped|, |current|)
  • if |E| < |JND| -
      + return |clipped| as the gamut mapped color +
    1. otherwise, set |max| to |chroma| and continue to repeat these steps