Setting .src should reset image animations; don't animate images no one is
looking at. Bug 210001, r=pavlov, sr=jst git-svn-id: svn://10.0.0.236/trunk@151035 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -141,6 +141,8 @@ NS_IMETHODIMP nsImageLoader::OnStartContainer(imgIRequest *aRequest,
|
||||
* one loop = 2
|
||||
*/
|
||||
aImage->SetAnimationMode(mPresContext->ImageAnimationMode());
|
||||
// Ensure the animation (if any) is started.
|
||||
aImage->StartAnimation();
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user