Open Bug 885021 Opened 11 years ago Updated 6 months ago

Firefox renders radial-gradient incorrectly

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

People

(Reporter: bugs, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(8 files)

This is a reduced testcase of a curve on a sample site that looked wrong under OSX. Blocky and ugly. Renders perfectly under Linux and Windows. Also, Safari under OSX also screws up the rendering but in a different (and a bit less ugly) way. So possibly some fault of underlying gfx layer?
Attached the file
Component: Layout → Graphics
Oh. And Google Chrome renders it worst of all. Test system is a Mac Mini 2, OSX 10.7.5, AMD Radeon HD 6630 256MB
Since this isn't browser specific (apart from oddity that all 3 browsers render the gradient incorrectly in 3 different ways, with Chrome's being most hideous). Should I just close this out as being some OSX thingy that isn't Firefox' business?
Oh. And went over to another OSX machine (only had Safari). Gradients rendered smoothly, but the lowest one was far too thick and dark. Kind of reminded me a bit of Chromium's screwing up of box-shadow on http://m8y.org/tmp/testcase348.xhtml on my linux system. Soo, really effed up rendering seems specific to this mac, but it looks like macs in general are not great at this gradient rendering.
Can you post an image of what the result *should* look like?
Is this the expected result?
Flags: needinfo?(bugs)
IE 10 result. At a glance, seems to be the same(?) as the Fx21 on Windows.
Yep. That's it. As noted, renders perfectly on Linux and Windows. So, figured prob most folks over there have access to an OSX and Linux machine :) But, I can make screenies for all the various ways it is screwed up on OSX if you like.
Flags: needinfo?(bugs)
Yep. Those match mine, except that Safari on the Mac Mini renders more like Firefox only w/ the line in the gradient pixelated in a 45° diagonal stairstep. Safari on the iMac matches your screenshot.
STR: 1) Add debug menu: https://developer.mozilla.org/en-US/docs/Debugging_Safari 2) Turn off page acceleration Looks like this is a quality/cost setting for software. Safari is better by default because they use hardware.
Severity: normal → S3
Attached image Comparison.png

Seems like this is still a problem

Severity: S3 → --
Component: Graphics → Graphics: WebRender
OS: macOS → All
Hardware: x86_64 → All
Summary: Firefox under OSX renders radial-gradient incorrectly → Firefox renders radial-gradient incorrectly

Hm. I noticed you changed it from OSX specific to all platforms.
When I reported this a decade ago it was OSX specific - rendering on Linux and Windows was fine, and it was also not browser specific, although some did better than others - in the thread it was attributed to a software quality optimisation vs hardware acceleration.

If it impacts all platforms now, I wonder if it isn't a different bug in one of the many graphics layers Firefox has used over the past decade.

Depends on: 1889073
Blocks: 1889073
No longer blocks: wr-correctness, wr-gradients
No longer depends on: 1889073
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: