Closed Bug 1428693 Opened 8 years ago Closed 8 years ago

svg animation freezing unless moving mouse

Categories

(Core :: DOM: Animation, defect)

49 Branch
Unspecified
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla60
Tracking Status
firefox-esr52 --- wontfix
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- wontfix
firefox60 --- verified
firefox61 --- verified

People

(Reporter: nefiga, Assigned: hiro)

References

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20180103231032 Steps to reproduce: https://jsfiddle.net/zt3mzfdu/ Actual results: I am on firefox 57.0.4 on macbook pro OS 10.13.2 I would expect the svg to at least animate badly. It doesn't even animate unless I move my mouse over the viewport iframe. If i move my mouse, it appears to render frames, but when I stop it ceases to animate again. It appears that the animation functions normally if: 1) I remove the overflow-y: auto rule; OR, 2) I remove the translate3d rule; OR, 3) I change the translate3d rule to use pixels instead of percent; Expected results: It animates the svg, even poorly.
Slightly simplified jsfiddle: https://jsfiddle.net/qwru0yae/
also produced the issue on win10
Component: Untriaged → SVG
OS: Unspecified → All
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Ever confirmed: true
regressed since version 49.
Keywords: regression
Version: 57 Branch → 49 Branch
Blocks: 1166500
Has Regression Range: --- → yes
Has STR: --- → yes
Component: SVG → Layout
@:hiro, Your bunch of patch seems to cause the regression, can you look into this?
Flags: needinfo?(hikezoe)
workaround setting dom.animations.offscreen-throttling = false
Component: Layout → DOM: Animation
Attached file A minimized test case
Didn't bug 1337994 fix this test case?
also reproduced on version 55. so, the bug 1337994 seems to do not fix this.
Comment on attachment 8955957 [details] Bug 1428693 - Use GetOverflowAreasRelativeToSelf() instead of GetOverflowAreas() for scrollable parent. https://reviewboard.mozilla.org/r/224900/#review230876
Attachment #8955957 - Flags: review?(matt.woodrow) → review+
Assignee: nobody → hikezoe
Status: NEW → ASSIGNED
Pushed by hikezoe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8ff883d778bf Use GetOverflowAreasRelativeToSelf() instead of GetOverflowAreas() for scrollable parent. r=mattwoodrow
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Ugh, wish this would have landed a week or so ago so we could have gotten it into 59 still. That said, calling 59 wontfix since this is an old issue we've been shipping for awhile.
QA Whiteboard: [good first verify]
I have reproduced this bug with Nightly 59.0a1 (2018-01-07) on Windows 10, 64 Bit! This bug's fix is verified with latest Beta! Build ID : 20180402175344 User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
QA Whiteboard: [good first verify] → [good first verify] [bugday-20180404]
Thank you Mohammad!
Reproduced the bug on Nightly 59.0a1 (2018-01-07) under Windows 10 x64. Bug fix is verified with: Firefox 60.0b15 and latest Nightly 61.0a1(2018-04-25). Tests were performed under Windows 10x64, MacOS X 10.10.5 and Ubuntu 16.04x64.
Status: RESOLVED → VERIFIED

This is happening to me on this site: https://www.smashingmagazine.com/2015/09/creating-cel-animations-with-svg/

I am using Firefox 93.0 64 bit on Macbook Air M1 (2020) running Big Sur (ver 11.6).

SVG animations flash the same frame unless mousing over and moving the mouse.

Hi itsmarkdaling. Thank you for mentioning this.

Are you able to file this as a separate bug? The animation from smashingmagazine also flashes for me while the test case from comment #0 (https://jsfiddle.net/zt3mzfdu/) works correctly so I believe this is a separate bug.

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

Attachment

General

Created:
Updated:
Size: