Bug 1478643 - Introduce a new change hint set for added or removed transform style. r=birtles

MozReview-Commit-ID: GfK1e5QaOu6
This commit is contained in:
Hiroyuki Ikezoe
2018-07-30 10:51:18 +09:00
parent dbaaf8acc7
commit bd0d6cf726
3 changed files with 20 additions and 17 deletions

View File

@@ -1609,12 +1609,10 @@ KeyframeEffect::CalculateCumulativeChangeHint(const ComputedStyle* aComputedStyl
// segment that needs composing with the underlying value, we just add
// all the change hints a transform animation is known to be able to
// generate.
mCumulativeChangeHint |= nsChangeHint_AddOrRemoveTransform |
nsChangeHint_RepaintFrame |
nsChangeHint_UpdateContainingBlock |
nsChangeHint_UpdateOverflow |
nsChangeHint_UpdatePostTransformOverflow |
nsChangeHint_UpdateTransformLayer;
mCumulativeChangeHint |=
nsChangeHint_ComprehensiveAddOrRemoveTransform |
nsChangeHint_UpdatePostTransformOverflow |
nsChangeHint_UpdateTransformLayer;
continue;
}