Re: [csswg-drafts] [css-color-4] Discrepancy between § 19.1. ΔE2000 implementation and ISO 11664-6:2014/Sharma et al., 2005 (#13322)

@svgeesus Might you be looking at line 75 (snippet below):
```js
if (Cdash1 * Cdash2 === 0) {
 Δh = 0;
}
```

instead of line 103 (snippet below):
```js
if (Cdash1 == 0 && Cdash2 == 0) {
 hdash = hsum;   // which should be zero
}
```

---

I still see the discrepancy in the spec document you sent, and it still appears to be present in the current main commit: https://github.com/w3c/csswg-drafts/blob/c2e52f7812d5f98f152659df5c0bed7050ba7949/css-color-4/deltaE2000.js#L103

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


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

Received on Sunday, 11 January 2026 18:49:01 UTC