Open Bug 1805715 Opened 2 years ago Updated 2 years ago

SVG image shows dark edges

Categories

(Core :: Graphics: ImageLib, defect, P3)

Firefox 108
defect

Tracking

()

Tracking Status
firefox-esr102 --- wontfix
firefox108 --- wontfix
firefox109 --- fix-optional
firefox110 --- fix-optional

People

(Reporter: mnj1004, Assigned: nical)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached file svg-image-issue.html

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

Steps to reproduce:

  • Start Firefox and open attached HTML file.
  • Change zoom level with menu button or ctrl + wheel scroll.

Actual results:

When zoom level is changed, dark edges are randomly displayed around SVG image.

Expected results:

Dark edges should not appear.

Attached image dark_edges.png

SVG image itself is grey without any outline but dark edges are displayed around the image.

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

Component: Untriaged → Graphics: ImageLib
Product: Firefox → Core

Setting gfx.webrender.svg-images to false fix the issue.

:nical, since you are the author of the regressor, bug 1686654, could you take a look? Also, could you set the severity field?

For more information, please visit auto_nag documentation.

Flags: needinfo?(nical.bugzilla)
Severity: -- → S3
Assignee: nobody → nical.bugzilla
Flags: needinfo?(nical.bugzilla)
Priority: -- → P3

It looks like the image is rendered with anti-aliasing on the edges but in the opaque pass instead of the alpha pass which causes the edge artifacts.

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

Attachment

General

Creator:
Created:
Updated:
Size: