зеркало из https://github.com/mozilla/pjs.git
Bug 370353 followup: Check in white space changes. Patch by Daniel Holbert <dholbert@mozilla.com>. r=bernd sr=dbaron a1.9=dbaron.
This commit is contained in:
Родитель
cdcf6f38b4
Коммит
564d13cb0e
|
@ -3063,14 +3063,14 @@ nsTableFrame::ReflowColGroups(nsIRenderingContext *aRenderingContext)
|
||||||
for (nsIFrame* kidFrame = mColGroups.FirstChild(); kidFrame;
|
for (nsIFrame* kidFrame = mColGroups.FirstChild(); kidFrame;
|
||||||
kidFrame = kidFrame->GetNextSibling()) {
|
kidFrame = kidFrame->GetNextSibling()) {
|
||||||
if (NS_SUBTREE_DIRTY(kidFrame)) {
|
if (NS_SUBTREE_DIRTY(kidFrame)) {
|
||||||
// The column groups don't care about dimensions or reflow states.
|
// The column groups don't care about dimensions or reflow states.
|
||||||
nsHTMLReflowState kidReflowState(presContext, kidFrame,
|
nsHTMLReflowState kidReflowState(presContext, kidFrame,
|
||||||
aRenderingContext, nsSize(0,0));
|
aRenderingContext, nsSize(0,0));
|
||||||
nsReflowStatus cgStatus;
|
nsReflowStatus cgStatus;
|
||||||
ReflowChild(kidFrame, presContext, kidMet, kidReflowState, 0, 0, 0,
|
ReflowChild(kidFrame, presContext, kidMet, kidReflowState, 0, 0, 0,
|
||||||
cgStatus);
|
cgStatus);
|
||||||
FinishReflowChild(kidFrame, presContext, nsnull, kidMet, 0, 0, 0);
|
FinishReflowChild(kidFrame, presContext, nsnull, kidMet, 0, 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SetHaveReflowedColGroups(PR_TRUE);
|
SetHaveReflowedColGroups(PR_TRUE);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче