Closed Bug 1737243 Opened 3 years ago Closed 1 year ago

animation rotation on svg causes artefact

Categories

(Core :: Graphics: WebRender, defect)

Firefox 93
defect

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox-esr115 --- wontfix
firefox94 --- wontfix
firefox95 --- wontfix
firefox96 --- wontfix
firefox116 --- fixed

People

(Reporter: dmitrijs.balcers, Assigned: tnikkel)

References

(Blocks 1 open bug)

Details

(Keywords: correctness, regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

Steps to reproduce:

Open this on FF https://jsfiddle.net/tbg9av58/2/
Keep pressing Cmd + S (save) to trigger animation

Actual results:

see that the div with svg in it has some ugly artefacts during rotation.

Expected results:

There should be no ugly artefacts.
You can workaround this if you put backface-visiblity: hidden; like I did here: https://jsfiddle.net/5mbpdtrj/21/

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

Component: Untriaged → SVG
Product: Firefox → Core

The severity field is not set for this bug.
:emilio, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)

The issue is much more evident when zooming in, but I can repro some minor artifacts.

Mozregression says https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=404680ad41e4e7d08aa46081a70095486f14e15f&tochange=e704e3565db9260efaa854f2916ca023b717db3c, which includes blob image changes in WebRender which look suspicious.

Component: SVG → Graphics: WebRender
Flags: needinfo?(emilio)

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)

Jeff, any chance your blob work here regressed this?

Severity: -- → S4
Flags: needinfo?(jmathies) → needinfo?(jmuizelaar)
Has Regression Range: --- → yes
Has STR: --- → yes
OS: Unspecified → All
Hardware: Unspecified → All

This is fixed on latest Nightly.
Fix range:
Bug 1714763. When computing the local scale use the local transform and the parent scale rather than the local transform and parent transform. r=jrmuizel

Status: NEW → RESOLVED
Closed: 1 year ago
Depends on: 1714763
Flags: needinfo?(jmuizelaar)
Resolution: --- → FIXED
Assignee: nobody → tnikkel
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: