mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 980062. Make nsDisplaySubDocument use the visible rect of the contained list because it contains the enlarged area. r=roc
mVisibleRect contains the bounds after the scrolled content has been clipped to the scrollport. The visible rect on the contained list (mList) contain the bounds for all pre-drawn content in the displayport.
This commit is contained in:
parent
02ed3cf36e
commit
3744208d24
@ -3535,7 +3535,7 @@ nsDisplaySubDocument::BuildLayer(nsDisplayListBuilder* aBuilder,
|
||||
mFrame->GetOffsetToCrossDoc(ReferenceFrame());
|
||||
|
||||
RecordFrameMetrics(mFrame, rootScrollFrame, ReferenceFrame(),
|
||||
container, mVisibleRect, viewport,
|
||||
container, mList.GetVisibleRect(), viewport,
|
||||
(usingDisplayport ? &displayport : nullptr),
|
||||
(usingCriticalDisplayport ? &criticalDisplayport : nullptr),
|
||||
scrollId, isRootContentDocument, aContainerParameters);
|
||||
|
Loading…
Reference in New Issue
Block a user