Make sure we include the overflow area in the size of views, for blocks and inlines, at least. b=79315 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@145090 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -710,6 +710,9 @@ nsContainerFrame::SyncFrameViewAfterReflow(nsIPresContext* aPresContext,
|
||||
// If the frame has child frames that stick outside the content
|
||||
// area, then size the view large enough to include those child
|
||||
// frames
|
||||
NS_ASSERTION(!(aFrame->GetStateBits() & NS_FRAME_OUTSIDE_CHILDREN) ||
|
||||
aCombinedArea,
|
||||
"resizing view for frame with overflow to the wrong size");
|
||||
if ((aFrame->GetStateBits() & NS_FRAME_OUTSIDE_CHILDREN) && aCombinedArea) {
|
||||
vm->ResizeView(aView, *aCombinedArea, PR_TRUE);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user