Fix for bug 12887.

git-svn-id: svn://10.0.0.236/trunk@44664 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com
1999-08-26 10:23:49 +00:00
parent a9b26ded6e
commit badf0ce469
4 changed files with 32 additions and 8 deletions

View File

@@ -915,6 +915,9 @@ NS_METHOD nsTableOuterFrame::Reflow(nsIPresContext& aPresContext,
// First reflow the inner table
nsHTMLReflowState innerReflowState(aPresContext, aReflowState, mInnerTableFrame,
nsSize(tableWidth, aReflowState.availableHeight));
innerReflowState.mComputedWidth = aReflowState.mComputedWidth;
innerReflowState.mComputedHeight = aReflowState.mComputedHeight;
nsHTMLReflowMetrics innerSize(aDesiredSize.maxElementSize);
rv = ReflowChild(mInnerTableFrame, aPresContext, innerSize, innerReflowState, aStatus);