зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1325193 - Stop processing KeyframeEffectReadOnly::UpdateProperties while composing the same effect's style. r=birtles
This commit is contained in:
Родитель
105aea2522
Коммит
7af76a1bc9
|
@ -274,6 +274,13 @@ KeyframeEffectReadOnly::UpdateProperties(nsStyleContext* aStyleContext)
|
|||
{
|
||||
MOZ_ASSERT(aStyleContext);
|
||||
|
||||
// Skip updating properties when we are composing style.
|
||||
// FIXME: Bug 1324966. Drop this check once we have a function to get
|
||||
// nsStyleContext without resolving animating style.
|
||||
if (mIsComposingStyle) {
|
||||
return;
|
||||
}
|
||||
|
||||
nsTArray<AnimationProperty> properties = BuildProperties(aStyleContext);
|
||||
|
||||
if (mProperties == properties) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче