зеркало из https://github.com/mozilla/gecko-dev.git
Bug 841192. Part 7: Move child->MarkAbsoluteFramesForDisplayList call down. r=mattwoodrow
--HG-- extra : rebase_source : 5d558cfe2850ece79fedc27cd5b6a6d4bf6f7cb3
This commit is contained in:
Родитель
53204f6f2c
Коммит
d9d5649ed0
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче