bug 13553 (Table doesn't render properly)

patch submitted by bernd.mielke@snafu.de
r=waterson
sr=buster


git-svn-id: svn://10.0.0.236/trunk@85312 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster%netscape.com 2001-01-22 22:10:05 +00:00
parent 2efa0db5b0
commit fd97a9afbb
6 changed files with 6 additions and 0 deletions

View File

@ -5715,6 +5715,7 @@ nsBlockFrame::ReflowFloater(nsBlockReflowState& aState,
mes.SizeBy(aMarginResult.left + aMarginResult.right,
aMarginResult.top + aMarginResult.bottom);
aState.StoreMaxElementSize(floater, mes);
aState.UpdateMaxElementSize(mes); // fix for bug 13553
}
#ifdef NOISY_FLOATER
printf("end ReflowFloater %p, sized to %d,%d\n", floater, metrics.width, metrics.height);

View File

@ -5715,6 +5715,7 @@ nsBlockFrame::ReflowFloater(nsBlockReflowState& aState,
mes.SizeBy(aMarginResult.left + aMarginResult.right,
aMarginResult.top + aMarginResult.bottom);
aState.StoreMaxElementSize(floater, mes);
aState.UpdateMaxElementSize(mes); // fix for bug 13553
}
#ifdef NOISY_FLOATER
printf("end ReflowFloater %p, sized to %d,%d\n", floater, metrics.width, metrics.height);

View File

@ -5715,6 +5715,7 @@ nsBlockFrame::ReflowFloater(nsBlockReflowState& aState,
mes.SizeBy(aMarginResult.left + aMarginResult.right,
aMarginResult.top + aMarginResult.bottom);
aState.StoreMaxElementSize(floater, mes);
aState.UpdateMaxElementSize(mes); // fix for bug 13553
}
#ifdef NOISY_FLOATER
printf("end ReflowFloater %p, sized to %d,%d\n", floater, metrics.width, metrics.height);

View File

@ -5715,6 +5715,7 @@ nsBlockFrame::ReflowFloater(nsBlockReflowState& aState,
mes.SizeBy(aMarginResult.left + aMarginResult.right,
aMarginResult.top + aMarginResult.bottom);
aState.StoreMaxElementSize(floater, mes);
aState.UpdateMaxElementSize(mes); // fix for bug 13553
}
#ifdef NOISY_FLOATER
printf("end ReflowFloater %p, sized to %d,%d\n", floater, metrics.width, metrics.height);

View File

@ -5715,6 +5715,7 @@ nsBlockFrame::ReflowFloater(nsBlockReflowState& aState,
mes.SizeBy(aMarginResult.left + aMarginResult.right,
aMarginResult.top + aMarginResult.bottom);
aState.StoreMaxElementSize(floater, mes);
aState.UpdateMaxElementSize(mes); // fix for bug 13553
}
#ifdef NOISY_FLOATER
printf("end ReflowFloater %p, sized to %d,%d\n", floater, metrics.width, metrics.height);

View File

@ -5715,6 +5715,7 @@ nsBlockFrame::ReflowFloater(nsBlockReflowState& aState,
mes.SizeBy(aMarginResult.left + aMarginResult.right,
aMarginResult.top + aMarginResult.bottom);
aState.StoreMaxElementSize(floater, mes);
aState.UpdateMaxElementSize(mes); // fix for bug 13553
}
#ifdef NOISY_FLOATER
printf("end ReflowFloater %p, sized to %d,%d\n", floater, metrics.width, metrics.height);