Open
Bug 629119
Opened 14 years ago
Updated 6 months ago
Reset animations on images when .src is changed (properly)
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
NEW
People
(Reporter: azakai, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
In bug 594771 we implemented a simple hack for this. But we should fix it in a more proper way and remove that hack. See discussion in that bug for the background.
![]() |
||
Comment 1•14 years ago
|
||
What does "properly" mean here? That is, what are you proposing we implement? ;)
Reporter | ||
Comment 2•14 years ago
|
||
To elaborate, I meant to remove the hack and solve it in a nicer way: 1. A proper interface, without the mNewRequestsWillNeedAnimationReset variable. 2. Might make sense to wait until after bug 625245 (do not track images not yet bound to a tree), and/or the idea mentioned in the previous bug, of having several types of animation consumers. This issue might be simpler after them.
![]() |
||
Comment 3•14 years ago
|
||
> 1. A proper interface, without the mNewRequestsWillNeedAnimationReset variable.
So just add a boolean argument to nsImageLoadingContent::LoadImage?
Do we have a bug on having different types of animation consumers?
Reporter | ||
Comment 4•14 years ago
|
||
(In reply to comment #3) > > 1. A proper interface, without the mNewRequestsWillNeedAnimationReset variable. > > So just add a boolean argument to nsImageLoadingContent::LoadImage? > That's good, but I think saving 'whether we need to reset the animation for a request' (as we now do) is a little odd. So I was hoping to find a better way. > Do we have a bug on having different types of animation consumers? It might make sense to do this as part of bug 625245 actually. I'll comment there.
Updated•13 years ago
|
QA Contact: imagelib → joe
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•