Closed Bug 1694982 Opened 4 years ago Closed 4 years ago

Large backgrounds with blend-mode, image and gradient loose colour

Categories

(Core :: Graphics: WebRender, defect)

Firefox 88
defect

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox86 --- unaffected
firefox87 --- unaffected
firefox88 --- fixed

People

(Reporter: ric, Assigned: gw)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

Create large background with mix-blendmode containing a gradient and image.

Examples on these pages:

https://thecuriosityofachild.com/

https://thecuriosityofachild.com/episodes/old-toys-and-christmas-elves

Actual results:

Only the initially visible part of the gradient is applied. Scrolling down shows the gradient ends. This is new in the latest build. Opening dev tools forced a redraw which fixed the issue.

Expected results:

Gradient should continue.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Graphics
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Component: Graphics → Graphics: WebRender
Ever confirmed: true
Flags: needinfo?(gwatson)
Regressed by: 1684781
Has Regression Range: --- → yes
Assignee: nobody → gwatson
Flags: needinfo?(gwatson)

The calculation of the available backdrop rect was incorrect in the
case of a picture cache slice that is both scrolled and also clipped
by long content which is affected by the mix-blend-mode.

Does this affect the advanced blend equation support? If so, we'll need to remember to ask for uplift on it.

Flags: needinfo?(gwatson)

It does, we will also need to make sure this gets uplifted if/when we uplift my mix-blend optimization patch.

Flags: needinfo?(gwatson)
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/89739cb6b392 Fix mix-blend backdrop sampling from scrolled + clipped picture caches. r=nical
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch

Set release status flags based on info from the regressing bug 1684781

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: