"browser.display.foreground_color" preference doesn't change the text color anymore
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox136 | --- | unaffected |
| firefox137 | --- | ? |
| firefox138 | --- | affected |
People
(Reporter: Sasha, Unassigned)
References
Details
Looks like the "browser.display.foreground_color" preference stopped changing the default text color. It works for me in the stable version 136.0.1. But it doesn't work in the Nightly.
Comment 1•7 months ago
|
||
Since the status is marked as affected for nightly and as unaffected for release, is it affected or unaffected for beta?
For more information, please visit BugBot documentation.
Comment 2•7 months ago
•
|
||
I can reproduce the behavior-difference, using e.g.
"good" (i.e. text is green)
mozregression --pref "browser.display.foreground_color:#008800" --launch 2025-01-01 -a example.org
"bad" (text is black):
mozregression --pref "browser.display.foreground_color:#008800" --launch 2025-03-14 -a example.org
mozregression traces this to bug 1898096 which appears to have been a rework of how colors are represented per https://blog.monotonous.org/2025/03/06/New-Contrast-Control-Settings/ , so I suspect the fact that this pref no longer "works" might be things working-as-expected (and there are new ways to control colors as detailed in that blog post).
eeejay, could you take a look and confirm whether this is expected?
Updated•7 months ago
|
Does the color selection work if the following is set in about:preferences?
General Tab > Contrast Control (formerly Colors) > select "Custom" option instead of "Automatic" or "Off"
Comment 4•7 months ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #2)
mozregression traces this to bug 1898096 which appears to have been a rework of how colors are represented per https://blog.monotonous.org/2025/03/06/New-Contrast-Control-Settings/ , so I suspect the fact that this pref no longer "works" might be things working-as-expected (and there are new ways to control colors as detailed in that blog post).
eeejay, could you take a look and confirm whether this is expected?
Correct, this is the expected behavior now. Changing the colors in pref doesn't do anything outside of custom high contrast mode.
Comment 5•7 months ago
|
||
I'm going to close this as wontfix 😬 Please let me know if this is a problem.
Description
•