Animate does not animate related <use> elements
Categories
(Core :: SVG, defect)
Tracking
()
People
(Reporter: david, Assigned: longsonr)
References
(Blocks 11 open bugs)
Details
Attachments
(4 files)
Assignee | ||
Updated•13 years ago
|
Reporter | ||
Comment 2•13 years ago
|
||
Assignee | ||
Comment 3•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Updated•12 years ago
|
Assignee | ||
Updated•12 years ago
|
Comment 6•10 years ago
|
||
Updated•3 years ago
|
Comment 11•3 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 4 duplicates.
:jwatt, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 12•3 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 13•2 years ago
|
||
SVGObserverUtils will allow us to observe all changes to the corresponding elements.
We turn off SMIL animation on the cloned elements as we'll now update from the corresponding
elements instead. That will keep all the animations in sync and stop us from having the
animations cancel when the animation elements are deleted from the clones (as they are not
SVGGraphicsElements).
As we're now dependent on the corresponding elements for animation we need to make sure we
don't throttle their animations.
Assignee | ||
Comment 14•2 years ago
|
||
Also fixes bug 575470 as we determine the correct target and relatedTarget for
events that are sent to the elements the use elements have cloned.
The following historic w3c test works too:
As does
https://bug738574.bmoattachments.org/attachment.cgi?id=608634
Depends on D187262
Assignee | ||
Comment 15•2 years ago
|
||
Assignee | ||
Comment 16•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Comment 18•10 days ago
|
||
Problems:
beginElement()
having no effect on<use>
: https://stackoverflow.com/q/79652232/begin="startButton.click"
having no effect on<use>
if the click event gets dispatched in the first line of JS code: https://stackoverflow.com/a/79652233/begin="startButton.click"
having unpredictable effect on<use>
if the click event gets dispatched insiderequestAnimationFrame()
(race condition?): https://stackoverflow.com/a/79652233/ , https://stackoverflow.com/revisions/79721729/12
Comment 19•1 day ago
|
||
Methods like pauseAnimations()
and setCurrentTime()
affect each SVG individually even if several SVGs contain identical <use>
elements.
This has a consequence that is difficult to notice but severely reduces the frame rate: Seeking to the same frame in all such SVGs is slow probably because Firefox probably computes interpolated coordinates (for example for d
in <path>
) redundantly for each SVG.
All this is different from Chrome's behavior.
Description
•