Re: [csswg-drafts] [css-color-4] Gamut Mapping Algorithm and Color Banding (#7135)

I would further suggest swapping to the following to avoid doing unnecessary in gamut checks as well:

```diff
- if (inGamut(candidate) && lower_bound_in_gamut) {
+ if (lower_bound_in_gamut && inGamut(candidate)) {
```

-- 
GitHub Notification of comment by facelessuser
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7135#issuecomment-1081121092 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 28 March 2022 20:41:37 UTC