5 ms·
And I don't yet see an entry for this on caniuse.com. I'm guessing this is super new.
by judah 1y ago
And I don't yet see an entry for this on caniuse.com. I'm guessing this is super new.
- miiiiiike 1y agoVery new. I think Safari is the only one that ships it and even then it’s still in preview
- homebrewer 1y agoIt works in "Gnome Web", which is mostly a wrapper around WebKit. > Support for this feature first shipped in March 2021, in Safari Technology Preview 122. https://webkit.org/blog/11577/release-notes-for-safari-technology-preview-122/ https://webkit.org/blog/11577/release-notes-for-safari-techn... > Added experimental support for CSS Color 5 color-contrast() https://trac.webkit.org/changeset/273683/webkit/ https://trac.webkit.org/changeset/273683/webkit/
- jeroenhd 1y agoMDN doesn't even have it yet. Looks like it's WebKit exclusive for a while. The [draft for addition to the CSS spec](https://drafts.csswg.org/css-color-5/#resolving-contrast https://drafts.csswg.org/css-color-5/#resolving-contrast) just got added. Kind of wonder why Apple includes this in Safari as color-contrast rather than -webkit-color-contrast until other browsers have at least indicated a position on this draft. All I can find is decisions to defer the specifications (going back to as far as 2020).
- frosted-flakes 1y agoPrefixes are no longer used for new features, and any that still exist are old. What happens now is that features are gated behind feature flags for testing until the browser working group settles on the final spec for that feature, at which point any browser-maker is free to implement it in public releases.
- ZYbCRq22HbJ2y7 1y agohttps://drafts.csswg.org/css-color-5/#contrast-color https://drafts.csswg.org/css-color-5/#contrast-color