Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e875bdbae00b05def9d6e42db1b68579e7611819
https://github.com/WebKit/WebKit/commit/e875bdbae00b05def9d6e42db1b68579e7611819
Author: Anuj Panta <[email protected]>
Date: 2026-02-27 (Fri, 27 Feb 2026)
Changed paths:
M Source/WebInspectorUI/UserInterface/Views/ColorSquare.js
Log Message:
-----------
Web Inspector: Color contrast overlay lines issue
https://bugs.webkit.org/show_bug.cgi?id=308802
rdar://171335010
Reviewed by Devin Rousso.
The contrast ratio inversion in _calculateContrastLinePoints was
applied to dark backgrounds when it should be applied to light
backgrounds. Flipping the condition from < to >= fixes the threshold
lines not appearing on the color square.
* Source/WebInspectorUI/UserInterface/Views/ColorSquare.js:
(WI.ColorSquare.prototype._calculateContrastLinePoints):
Canonical link: https://commits.webkit.org/308348@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications