Skip to content

Commit b7e5000

Browse files
LeaVeroufantasai
andcommitted
[css-color-6] Add note wrt multiple contrast algorithms
Co-Authored-By: fantasai <725717+fantasai@users.noreply.github.com>
1 parent 57fe500 commit b7e5000

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css-color-6/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,11 @@ Computing a Contrasting Color: the ''contrast-color()'' function {#colorcontrast
6767
[ [ <<color>> && [ tbd-fg | tbd-bg ] && <<target-contrast>>? ] |
6868
[ <<color>> && [ tbd-fg | tbd-bg ] && <<target-contrast>>, <<color>># ] )
6969
<<target-contrast>> = <<wcag2>>
70+
<!-- Allow multiple algorithms in the future by using && operator instead of | for <<target-contrast>> additions.
71+
See resolution in #7357 -->
7072
</pre>
7173

74+
7275
The only mandatory argument is the <dfn lt="contrast base color" local-lt="base color">base color</dfn>
7376
against which the contrast is computed.
7477
This is typically (but not necessarily) a background color.

0 commit comments

Comments
 (0)