Open Bug 1964170 Opened 12 days ago Updated 11 days ago

Wrong CSS color with background color and image in fixed position - FFox v. 139.0b3

Categories

(Core :: CSS Parsing and Computation, enhancement)

Firefox 139
Desktop
macOS
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: fb19, Unassigned, NeedInfo)

Details

Attachments

(1 file)

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 :)

Summary: 139.0b3 bug css position background → Wrong CSS color with background color and image in fixed position
OS: Unspecified → macOS
Hardware: Unspecified → Desktop
Summary: Wrong CSS color with background color and image in fixed position → Wrong CSS color with background color and image in fixed position - FFox v. 139.0b3
Component: fr / French → CSS Parsing and Computation
Product: Mozilla Localizations → Core
QA Contact: nobody
Version: unspecified → Firefox 139

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?

Flags: needinfo?(fb19)

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

Flags: needinfo?(fb19)

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.

Flags: needinfo?(fb19)

(And same as in older firefox versions too)

Attached image Capture-Bug_1964170.png
Flags: needinfo?(fb19)

Here is the screenshot… (see "Attachments" above).

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.

Flags: needinfo?(fb19)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: