зеркало из https://github.com/mozilla/gecko-dev.git
Bug 960465 patch 19 - Remove users of eRestyle_ChangeAnimationPhase. r=birtles
This commit is contained in:
Родитель
6475962f36
Коммит
82ec6020a1
|
@ -1803,8 +1803,7 @@ Element::SetSMILOverrideStyleRule(css::StyleRule* aStyleRule,
|
|||
if (doc) {
|
||||
nsCOMPtr<nsIPresShell> shell = doc->GetShell();
|
||||
if (shell) {
|
||||
shell->RestyleForAnimation(this,
|
||||
eRestyle_StyleAttribute | eRestyle_ChangeAnimationPhase);
|
||||
shell->RestyleForAnimation(this, eRestyle_StyleAttribute);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -331,7 +331,6 @@ struct AnimationPlayerCollection : public PRCList
|
|||
if (element) {
|
||||
nsRestyleHint hint = IsForTransitions() ? eRestyle_CSSTransitions
|
||||
: eRestyle_CSSAnimations;
|
||||
hint |= eRestyle_ChangeAnimationPhase;
|
||||
aPresContext->PresShell()->RestyleForAnimation(element, hint);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -138,7 +138,7 @@ nsHTMLCSSStyleSheet::HasAttributeDependentStyle(AttributeRuleProcessorData* aDat
|
|||
// Perhaps should check that it's XUL, SVG, (or HTML) namespace, but
|
||||
// it doesn't really matter.
|
||||
if (aData->mAttrHasChanged && aData->mAttribute == nsGkAtoms::style) {
|
||||
return eRestyle_StyleAttribute | eRestyle_ChangeAnimationPhase;
|
||||
return eRestyle_StyleAttribute;
|
||||
}
|
||||
|
||||
return nsRestyleHint(0);
|
||||
|
|
Загрузка…
Ссылка в новой задаче