background-blend-mode does not blend a fixed first background-image with background-color
Categories
(Core :: Web Painting, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox72 | --- | wontfix |
firefox73 | --- | fixed |
firefox74 | --- | fixed |
People
(Reporter: go.shoemake, Assigned: mstange)
References
(Regression)
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
Load a webpage with a background-image, background-color, and background-blend-mode set, where the first (lowest) background image is fixed, as in the following CSS code:
html {
background: fixed linear-gradient(to bottom, white, black), green;
background-blend-mode: multiply;
}
Actual results:
The background-image did not blend with the background-color of the element.
Expected results:
The background-image should blend with the background-color of the element, as specified by Compositing and Blending Level 1, which makes no special provisions for fixed background images. This is the behaviour of Chrome.
Comment 1•4 years ago
|
||
I can confirm this issue using the latest Nightly 74.0a1 on Windows 10 x64, Ubuntu 18.04 and Mac OS X 10.15.
I managed to find a regression range, here are the results:
- last good build: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=334b41001234a56dcb32fe26792d9d730db9eea0&tochange=418f08a73850870b80ebb96b780676d3bc7784b6
- first bad build: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=21d90776b745e7c395d846797d196728591c0881&tochange=418f08a73850870b80ebb96b780676d3bc7784b6
Found commit message:
Bug 1599606 - Don't interleave a non-scrolled canvas background color item and a fixed canvas background image with a scrolled background-color item. r=mattwoodrow
Comment 2•4 years ago
|
||
Markus, do you have cycles to look at this? It's getting late in the Beta cycle for getting a fix into Fx73.
Assignee | ||
Comment 3•4 years ago
|
||
Can you back out the offending changeset on central and beta? The small performance win doesn't warrant a regression in correctness.
Comment 4•4 years ago
|
||
Should bug 1599606 be reopened afterwards or wontfixed?
Comment 6•4 years ago
|
||
This should be fixed in 73.0b9 and newer via backing out bug 1599606.
Description
•