Set pref layout.css.forced-color-adjust.enabled to true by default
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
People
(Reporter: fchasen, Assigned: fchasen)
References
Details
(Keywords: dev-doc-needed, Whiteboard: [fidefe-quality-foundation])
Attachments
(1 file)
Set the pref for layout.css.forced-color-adjust.enabled
to true
by default to enable it to be used to prevent applying forced colors on certain elments.
Assignee | ||
Updated•7 months ago
|
Updated•7 months ago
|
Assignee | ||
Comment 1•6 months ago
|
||
Pushed by fchasen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/251530e20422 Enable support for forced-color-adjust property by default r=emilio
Comment 3•6 months ago
•
|
||
Backed out for causing xpc failures in devtools/shared/tests/xpcshell/test_css-properties-db.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/5aa2b55eb19b133d270affbe0279338a0ad2b547
[Failure log bc -> TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_parsable_css.js | Unused whitelist item: {"sourceName":"/web\/viewer\.css$/i","errorMessage":"/Unknown property ‘forced-color-adjust’](https://treeherder.mozilla.org/logviewer?job_id=410433442&repo=autoland&lineNumber=4521)
Updated•6 months ago
|
Pushed by fchasen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0f0a3d3602d8 Enable support for forced-color-adjust property by default r=emilio
Comment 5•6 months ago
|
||
Backed out for causing failures at browser_parsable_css.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/ff84e2935cc3c0b1a61d28165919e628aabae448
Failure log: https://treeherder.mozilla.org/logviewer?job_id=410559253&repo=autoland&lineNumber=4884
Assignee | ||
Comment 6•6 months ago
|
||
Updated again, I had to remove this property from the whitelist now that it is enabled.
Tests appear to all be passing now:
Comment 7•6 months ago
|
||
Is this something we should call out in the Fx113 relnotes?
Assignee | ||
Comment 8•6 months ago
|
||
I think a quick mention would make sense, the intent to ship was in https://groups.google.com/a/mozilla.org/g/dev-platform/c/HCTHp4XMCKk/m/SN5Iboy_AQAJ
Comment 9•6 months ago
|
||
Please set the relnote-firefox
dropdown to ?
and fill out the form then :-)
Assignee | ||
Comment 10•6 months ago
|
||
Release Note Request
[Why is this notable]:
The “forced-color-adjust” property allows opting an element out of automatic color adjustment in Forced Color Mode.
[Affects Firefox for Android]:
Better support for High Contrast Mode colors.
[Suggested wording]:
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.
Comment 11•6 months ago
|
||
Pushed by fchasen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/129ee0d341a2 Enable support for forced-color-adjust property by default r=emilio
Comment 12•6 months ago
|
||
bugherder |
Description
•