Skip to content

Commit 81d9d32

Browse files
committed
[css-color-5] at least two colors for color-contrast() list. Fix w3c#6055
1 parent eaea01a commit 81d9d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-color-5/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ Selecting the most contrasting color: the ''color-contrast()'' function {#colorc
504504
to the single color.
505505

506506
<pre class='prod'>
507-
<dfn>color-contrast()</dfn> = color-contrast( <<color>> vs <<color>># )
507+
<dfn>color-contrast()</dfn> = color-contrast( <<color>> vs <<color>>#{2,} )
508508
</pre>
509509

510510
Issue(#4749): <a href="https://github.com/w3c/csswg-drafts/issues/4749">add target contrast ratio to color-contrast?</a>

0 commit comments

Comments
 (0)