Bug 55086. Be sure to position child views, too! r=dbaron, sr=attinasi, a=blizzard.

This commit is contained in:
waterson%netscape.com 2001-08-31 20:14:31 +00:00
parent fa95d765b7
commit 07f0145166
2 changed files with 6 additions and 0 deletions

View File

@ -526,6 +526,9 @@ nsBlockReflowContext::DoReflowBlock(nsHTMLReflowState &aReflowState,
if (view) {
nsContainerFrame::PositionFrameView(mPresContext, aFrame, view);
}
else {
nsContainerFrame::PositionChildViews(mPresContext, aFrame);
}
#ifdef DEBUG
mMetrics.width = nscoord(0xdeadbeef);

View File

@ -526,6 +526,9 @@ nsBlockReflowContext::DoReflowBlock(nsHTMLReflowState &aReflowState,
if (view) {
nsContainerFrame::PositionFrameView(mPresContext, aFrame, view);
}
else {
nsContainerFrame::PositionChildViews(mPresContext, aFrame);
}
#ifdef DEBUG
mMetrics.width = nscoord(0xdeadbeef);