SVG animation is not rendering
Categories
(Core :: SVG, defect)
Tracking
()
People
(Reporter: leeroyjenkins176, Assigned: longsonr)
References
Details
(Keywords: regression)
Attachments
(6 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
Steps to reproduce:
CSS animation
@keyframes chart {
from { width: 0px }
to { width: 606px }
}
Applied to a <rect> element located inside a <clipPath>. After a few seconds/milliseconds from the start, the animation stops rendering. You can only resume rendering by clicking the document with the mouse.
| Reporter | ||
Comment 1•1 year ago
|
||
| Reporter | ||
Comment 2•1 year ago
|
||
Comment 3•1 year ago
|
||
Not a recent regression goes back to at least 2019. Before that we don't even try to animate, we just show the whole graph from the start, presumably we implemented something to do that. The range I get for that is this
Comment 4•1 year ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #3)
Not a recent regression goes back to at least 2019. Before that we don't even try to animate, we just show the whole graph from the start, presumably we implemented something to do that. The range I get for that is this
Comment 5•1 year ago
|
||
Thanks for narrowing that down.
I don't think I would call this bug regressed by that. That bug is what allows the animation to even try to animate, before that we didn't even try to animate it.
Comment 6•1 year ago
|
||
In a profile I see that all the other animations in the document are listed (opacity, axis-x axis-y) but not the animation for drawing the content of the chart (chart). The chart animation is on the clippath that is applied to the chart content, as opposed to on the content itself like the other animations.
Flipping dom.animations.offscreen-throttling does not have an affect.
Comment 7•1 year ago
|
||
| Assignee | ||
Comment 8•1 year ago
|
||
Updated•1 year ago
|
Comment 9•1 year ago
|
||
This bug has been marked as a regression. Setting status flag for Nightly to affected.
Comment 10•1 year ago
|
||
This doesn't change behavior as is but prevents an assertion with the
other proposed patch.
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
Comment 13•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/50a09d96ee0d
https://hg.mozilla.org/mozilla-central/rev/6e9ba14c08df
Updated•1 year ago
|
Description
•