зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1222880 - Followup to handle the case when aStopAtAnimatedGeometryRoot isn't an ancestor of aAnimatedGeometryRoot. CLOSED TREE
This commit is contained in:
Родитель
2a21a450b3
Коммит
e486b02c34
|
@ -3762,7 +3762,7 @@ GetScrollClipIntersection(nsDisplayListBuilder* aBuilder, AnimatedGeometryRoot*
|
||||||
DisplayItemClip resultClip;
|
DisplayItemClip resultClip;
|
||||||
nsIFrame* fParent;
|
nsIFrame* fParent;
|
||||||
for (AnimatedGeometryRoot* agr = aAnimatedGeometryRoot;
|
for (AnimatedGeometryRoot* agr = aAnimatedGeometryRoot;
|
||||||
agr != aStopAtAnimatedGeometryRoot;
|
agr != aStopAtAnimatedGeometryRoot && agr;
|
||||||
agr = agr->mParentAGR) {
|
agr = agr->mParentAGR) {
|
||||||
fParent = nsLayoutUtils::GetCrossDocParentFrame(*agr);
|
fParent = nsLayoutUtils::GetCrossDocParentFrame(*agr);
|
||||||
if (!fParent) {
|
if (!fParent) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче