зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1345356 - Update references to CheckAnimationRule to refer to UpdateAnimations; r=heycam DONTBUILD (comment-only)
This method was renamed in bug 1246046 (changeset
c3fe45107c
) since the animation rule now
represents more than just CSS animations and this method is only concerned with
triggering updates to it based on changes to CSS animations
--HG--
extra : rebase_source : ca459dd14699761523193c172886782fed6e5d8f
This commit is contained in:
Родитель
b76eae29e9
Коммит
2fb7abf24c
|
@ -1728,10 +1728,10 @@ nsStyleSet::ResolveStyleWithReplacement(Element* aElement,
|
|||
// because at this point the parameter is more than just the element
|
||||
// for animation; it's also used for the SetBodyTextColor call when
|
||||
// it's the body element.
|
||||
// However, we only want to set the flag to call CheckAnimationRule
|
||||
// However, we only want to set the flag to call UpdateAnimations
|
||||
// if we're dealing with a replacement (such as style attribute
|
||||
// replacement) that could lead to the animation property changing,
|
||||
// and we explicitly do NOT want to call CheckAnimationRule when
|
||||
// and we explicitly do NOT want to call UpdateAnimations when
|
||||
// we're trying to do an animation-only update.
|
||||
if (aReplacements & ~(eRestyle_CSSTransitions | eRestyle_CSSAnimations)) {
|
||||
flags |= eDoAnimation;
|
||||
|
|
Загрузка…
Ссылка в новой задаче