Implement CSS contrast-color() function
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
People
(Reporter: 709922234, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:85.0) Gecko/20100101 Firefox/85.0
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•4 years ago
|
Comment 3•3 years ago
•
|
||
It was resolved today to rename this function to contrast-color()
. So renaming this bug as well.
(Also, the function got postponed to level 6 of the specification, though there is no draft yet so keeping it at level 5 for now.)
Sebastian
Comment 4•3 years ago
|
||
(In reply to Sebastian Zartner [:sebo] from comment #3)
(Also, the function got postponed to level 6 of the specificaction, though there is no draft yet so keeping it at level 5 for now.)
There is a draft of css-color-6: drafts.csswg.org/css-color-6. I guess the CSSWG just forgot to link it in their drafts overview (drafts.csswg.org). You can actually find it at the bottom of the drafts overview under "Other Documents".
Comment 5•3 years ago
|
||
Thanks for the hint, Benjamin! I've also asked the CSSWG to add it to the specifications list.
Sebastian
color-contrast() has been renamed to contrast-color() and syntax changed.
https://github.com/w3c/csswg-drafts/issues/7557
https://drafts.csswg.org/css-color-6/#resolving-contrast
Comment 7•3 years ago
|
||
(In reply to Woody Li from comment #6)
color-contrast() has been renamed to contrast-color()
Yes, I mentioned that earlier.
and syntax changed.
And the syntax discussion is still not finished, see https://github.com/w3c/csswg-drafts/issues/7937.
Sebastian
Updated•2 years ago
|
Updated•2 years ago
|
Description
•