зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1463605 - Set mMayHaveOpacityAnimation and mMayHaveTransformAnimation flag to continuation or IB split sibling frames too. r=birtles
Without this fix layout/reftests/css-animations/ib-split-sibling-opacity.html would have failed if the next change in this patch series is applied. MozReview-Commit-ID: CFNXePkXuOs --HG-- extra : rebase_source : 48df6bf107e1a14dd2b2ae7c23d38d29581aabcb
This commit is contained in:
Родитель
7c246fac68
Коммит
452c7f0e9a
|
@ -1785,14 +1785,16 @@ KeyframeEffect::UpdateEffectSet(EffectSet* aEffectSet) const
|
|||
nsIFrame* frame = GetStyleFrame();
|
||||
if (HasAnimationOfProperty(eCSSProperty_opacity)) {
|
||||
effectSet->SetMayHaveOpacityAnimation();
|
||||
if (frame) {
|
||||
while (frame) {
|
||||
frame->SetMayHaveOpacityAnimation();
|
||||
frame = nsLayoutUtils::GetNextContinuationOrIBSplitSibling(frame);
|
||||
}
|
||||
}
|
||||
if (HasAnimationOfProperty(eCSSProperty_transform)) {
|
||||
effectSet->SetMayHaveTransformAnimation();
|
||||
if (frame) {
|
||||
while (frame) {
|
||||
frame->SetMayHaveTransformAnimation();
|
||||
frame = nsLayoutUtils::GetNextContinuationOrIBSplitSibling(frame);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче