mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 483841. Animated background images on visibility:hidden elements shouldn't cause any painting. r+sr=dbaron
--HG-- extra : rebase_source : de0ca0f1c37e7a47229f69ec1b375dd5c3202bb0
This commit is contained in:
parent
01d7e9ec69
commit
14fc0fd9e7
@ -254,5 +254,7 @@ nsImageLoader::RedrawDirtyFrame(const nsRect* aDamageRect)
|
||||
|
||||
#endif
|
||||
|
||||
mFrame->Invalidate(bounds);
|
||||
if (mFrame->GetStyleVisibility()->IsVisible()) {
|
||||
mFrame->Invalidate(bounds);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user