Skip to content

Commit 8276b9b

Browse files
committed
[css-color-4] For color comparisons in Oklab, standardized ε to be 0.00001 #13157
1 parent f98969c commit 8276b9b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

css-color-4/Overview.bs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4836,7 +4836,7 @@ Comparing <<color>> Values</h2>
48364836
then return true if and only if
48374837
all components (including alpha) of the converted colors
48384838
compare as equal,
4839-
using an implementation-defined ε as in step 2.
4839+
using a standardized Oklab ε of <strong>0.00001</strong>.
48404840
</li>
48414841
</ol>
48424842

@@ -7986,7 +7986,10 @@ Changes</h2>
79867986
<a href="https://www.w3.org/TR/2025/CRD-css-color-4-20250424/">Candidate Recommendation Draft of 24 April 2025</a></h3>
79877987

79887988
<ul>
7989-
<!-- to 14 April 2026 -->
7989+
<!-- to 27 April 2026 -->
7990+
<li>For color comparisons in Oklab, standardized ε to be <strong>0.00001</strong>
7991+
(<a href="https://github.com/w3c/csswg-drafts/issues/13157#issuecomment-4329625711">Issue 13157</a>)
7992+
</li>
79907993
<li>Added a new section defining when two <<color>> values are [=equivalent colors=],
79917994
covering same-color-space component comparison, the treatment of [=missing component=]s,
79927995
and cross-color-space comparison via ''oklab''.

0 commit comments

Comments
 (0)