Linear gradient rendering fails on tall pages. Windows, Linux, Android.




6 years ago
2 months ago


(Reporter: bugs, Unassigned)


(Blocks: 1 bug, {testcase})


Firefox Tracking Flags

(Not tracked)




(1 attachment, 1 obsolete attachment)

579 bytes, application/xhtml+xml


6 years ago
Encountered this on a production site with a linear gradient from light grey to slightly darker grey.
Scrolling down a long page under Windows, the background suddenly turned black.

Fiddling with toggling CSS settings, unfocusing firefox, scrolling up and down revealed rendering bugs shifted.

Sometimes all white would be shown, sometimes white and black with chunks.  Sometimes the gradient would repeat. is a quick test page.  Will attach.

If I scroll down in Linux, the gradient restarts about half way down.  When I scroll all the way to the end, I see blue, red and green instead of just red.  If I focus away, it corrects itself, although errors reappear on scrolling again.

Under Windows, green (the background colour) begins about half-way down.  If I unfocus Firefox with the green filling the viewport, the green jumps to fill all of it.

Under Android (Gingerbread, SPH-M930), green appears half-way down, but if I keep scrolling, the gradient starts over.  If I switch to another tab in Android, and switch back, the green behaves similar to Windows.

OSX 10.7.5 appears to work correctly.

Tested in Firefox Nightly on all platforms.  Tried disabling layers accel under Linux, didn't help.

Comment 1

6 years ago
Created attachment 747574 [details]
Demo of problem

Comment 2

6 years ago
Created attachment 747584 [details]
Actual testcase

Sorry, misread the fields in the attachment form.

Comment 3

6 years ago
Comment on attachment 747574 [details]
Demo of problem

Attachment #747574 - Attachment is obsolete: true
FWIW, I can confirm this on Win 7 only with GDI i.e. HWA off.
Keywords: testcase

Comment 5

2 years ago
I can not reproduce this symptom on win10/ubuntu 16/mac....


2 years ago
Priority: -- → P3


2 months ago
Component: Layout: View Rendering → Layout: Web Painting
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.