Closed Bug 1840447 Opened 2 years ago Closed 2 years ago

Noticeable banding on animated CSS gradient in Firefox, not in Chrome/Safari

Categories

(Core :: Graphics, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 627771

People

(Reporter: twisniewski, Unassigned)

References

()

Details

Attachments

(1 file)

Attached file testcase.html

The attached testcase exhibits noticable color banding which doesn't appear to be OS-dependent. It was reduced from a Steam page, as reported on webcompat.com.

Not as pronounced, but I see banding in Edge as well with the test case, especially at the hard-transition between colors.

FFx Release 114.0.2 (SW/WR) and Nightly 116.0a1 (WR) displays this harsh banding equally, so it doesn't appear to be related to hardware acceleration (or the lack thereof).

We did previously have an existing gradient dithering implementation, however it was disabled in order to ship DirectComposition some time ago. The details are subtle but the old dithering implementation would cause unpredictable fuzziness failures due to where DC selects tiles within the virtual surface atlas. We should reimplement gradient dithering in a way that isn't affected by this.

Severity: -- → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 627771
Priority: -- → P3
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: