Open Bug 1860310 Opened 2 years ago Updated 1 year ago

CSS gradients not anti-aliased

Categories

(Core :: Graphics: WebRender, defect)

Firefox 120
x86_64
All
defect

Tracking

()

UNCONFIRMED

People

(Reporter: rnwst, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Attached file gradients.html

CSS gradients are not anti-aliased. See the attached test case. The test case only includes a radial and a conic gradient, but the issue occurs with linear gradients as well. I can submit a separate test case for that if desired.

FF versions:

  • 120.0a1 (2023-10-17) (64-bit)
  • 118.0.2 (64-bit)
Attached image gradients.png

This image is a screenshot of the test case, which was up-scaled without interpolation, to make the effect more easily visible.

I get similar rendering in Chrome too.

Component: Graphics → Graphics: WebRender
OS: Linux → All

FWIW, this is also an issue on Chromium, as mentioned above. The corresponding report was filed over 9 years ago, and there is still no fix:
https://bugs.chromium.org/p/chromium/issues/detail?id=408528

Attached image screenshot on Windows10

On Windows10 WebRender(HW and SW), pixel jaggedness is unusually large in places.

:gw, can you comment to the bug?

Flags: needinfo?(gwatson)
Severity: -- → S3
Assignee: nobody → gwatson
Flags: needinfo?(gwatson)
Blocks: 1889095
No longer blocks: wr-gradients
Assignee: gwatson → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: