*Summary:* The “forced-color-adjust” property allows opting an element out of color changes in Forced Color Mode <https://www.w3.org/TR/css-color-adjust-1/#forced>.
The default *“auto”* value allows the colors to be automatically adjusted. The *“none”* value opts out of any color changes. In combination with the “forced-color: active” media feature will allow authors to specify the exact colors that are used in situations where the automatically picked contrasting colors are not ideal. *“preserve-parent-color” *is not implemented, as Firefox does not currently apply forced colors to SVG. *Bug:* https://bugzilla.mozilla.org/show_bug.cgi?id=1591210 *Specification:* https://w3c.github.io/csswg-drafts/css-color-adjust/#forced-color-adjust-prop *Preference:* layout.css.forced-color-adjust.enabled *Other browsers:* - Blink: Shipped https://groups.google.com/a/chromium.org/g/blink-dev/c/zEDgmKsyjTY - Webkit: No Signals *Web-platform-tests:* https://wpt.fyi/results/forced-colors-mode I intend to turn the layout.css.forced-color-adjust.enabled preference on by default for desktop Firefox around March 15th in Bug 1818819 <https://bugzilla.mozilla.org/show_bug.cgi?id=1818819>. -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAF_y-j2cem%2BGcB8moExaRoDn31KKNJcJwYA0X3KfM4%3DwMK0PtA%40mail.gmail.com.
