mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 841192. Part 7: Move child->MarkAbsoluteFramesForDisplayList call down. r=mattwoodrow
--HG-- extra : rebase_source : 5d558cfe2850ece79fedc27cd5b6a6d4bf6f7cb3
This commit is contained in:
parent
c57aa1a36d
commit
4cfae34412
@ -2138,10 +2138,9 @@ nsIFrame::BuildDisplayListForChild(nsDisplayListBuilder* aBuilder,
|
||||
}
|
||||
}
|
||||
|
||||
child->MarkAbsoluteFramesForDisplayList(aBuilder, dirty);
|
||||
|
||||
if (childType != nsGkAtoms::placeholderFrame &&
|
||||
aBuilder->GetSelectedFramesOnly() &&
|
||||
NS_ASSERTION(childType != nsGkAtoms::placeholderFrame,
|
||||
"Should have dealt with placeholders already");
|
||||
if (aBuilder->GetSelectedFramesOnly() &&
|
||||
child->IsLeaf() &&
|
||||
!aChild->IsSelected()) {
|
||||
return;
|
||||
@ -2223,6 +2222,8 @@ nsIFrame::BuildDisplayListForChild(nsDisplayListBuilder* aBuilder,
|
||||
// overflow:hidden etc creates an nsHTML/XULScrollFrame which does its own
|
||||
// clipping.
|
||||
|
||||
child->MarkAbsoluteFramesForDisplayList(aBuilder, dirty);
|
||||
|
||||
if (!pseudoStackingContext) {
|
||||
// THIS IS THE COMMON CASE.
|
||||
// Not a pseudo or real stacking context. Do the simple thing and
|
||||
|
Loading…
Reference in New Issue
Block a user