Bug 370353 followup: Check in white space changes. Patch by Daniel Holbert <dholbert@mozilla.com>. r=bernd sr=dbaron a1.9=dbaron.

git-svn-id: svn://10.0.0.236/trunk@232309 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbarrett%mozilla.com 2007-08-17 23:58:19 +00:00
parent d63da4506a
commit d767071314

View File

@ -3063,14 +3063,14 @@ nsTableFrame::ReflowColGroups(nsIRenderingContext *aRenderingContext)
for (nsIFrame* kidFrame = mColGroups.FirstChild(); kidFrame;
kidFrame = kidFrame->GetNextSibling()) {
if (NS_SUBTREE_DIRTY(kidFrame)) {
// The column groups don't care about dimensions or reflow states.
nsHTMLReflowState kidReflowState(presContext, kidFrame,
// The column groups don't care about dimensions or reflow states.
nsHTMLReflowState kidReflowState(presContext, kidFrame,
aRenderingContext, nsSize(0,0));
nsReflowStatus cgStatus;
ReflowChild(kidFrame, presContext, kidMet, kidReflowState, 0, 0, 0,
cgStatus);
FinishReflowChild(kidFrame, presContext, nsnull, kidMet, 0, 0, 0);
}
nsReflowStatus cgStatus;
ReflowChild(kidFrame, presContext, kidMet, kidReflowState, 0, 0, 0,
cgStatus);
FinishReflowChild(kidFrame, presContext, nsnull, kidMet, 0, 0, 0);
}
}
SetHaveReflowedColGroups(PR_TRUE);
}