mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 966397. Part 2: Don't look at ancestors of mContainerReferenceFrame when searching for a fixed-pos ancestor we belong to, since we'll change coordinate spaces. The metadata will be attached to an ancestor layer in that case. r=mattwoodrow
--HG-- extra : rebase_source : cfb56bb2111abce99cd475b9fa8c516d53621ed4
This commit is contained in:
parent
39c3f2bf7b
commit
e8c97c2ed5
@ -1690,6 +1690,10 @@ ContainerState::FindFixedPosFrameForLayerData(const nsIFrame* aAnimatedGeometryR
|
|||||||
result = f;
|
result = f;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (f == mContainerReferenceFrame) {
|
||||||
|
// The metadata will go on an ancestor layer if necessary.
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!result) {
|
if (!result) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user