Wrong CSS color with background color and image in fixed position - FFox v. 139.0b3
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
People
(Reporter: fb19, Unassigned, NeedInfo)
Details
Attachments
(1 file)
871.03 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:139.0) Gecko/20100101 Firefox/139.0
Steps to reproduce:
A css background image on the body tag, set to "position: fixed" and a background color in hexadecimal code (for example #5b503b).
Actual results:
The background color is not stable or correct (too clear…).
Expected results:
The expected color should be displayed.
Thanks :)
Updated•11 days ago
|
Comment 1•11 days ago
|
||
Could you attach a test-case to the bug or a link to a page that repros the issue please? Thanks.
data:text/html,<body bgcolor="5b503b" style="position: fixed; background-image: url(https://wpt.live/images/green.png)">
Seems to render fine?
Hello,
You can see here on FFox 139.0b3 : https://kcl.dourven.com/2025/ that the background color is wrong. It should match the color of the image on the right against the background.
Thanks,
François
Comment 3•11 days ago
|
||
Thanks, can you attach a screenshot by any chance? Does it repro on a clean profile? Here that site renders the same in Firefox as in other browsers.
Comment 4•11 days ago
|
||
(And same as in older firefox versions too)
Comment 7•11 days ago
|
||
Does going to about:config
, changing gfx.color_management.mode
to 1
, and then restart fix it for you? I think that we might be color-managing the image and not the CSS color.
Description
•