Don't overoptimize when absolute frames are reflown and the containing block should return a MEW. bug 192267 r/sr=dbaron

This commit is contained in:
bmlk%gmx.de 2003-09-20 11:35:29 +00:00
parent 9cc206ea7b
commit ca2e57a80b
2 changed files with 2 additions and 2 deletions

View File

@ -674,7 +674,7 @@ nsBlockFrame::Reflow(nsIPresContext* aPresContext,
// If the incremental reflow command was handled by the absolute
// positioning code, then we're all done.
if (handled) {
if (handled && !aMetrics.mComputeMEW) {
// Just return our current size as our desired size.
aMetrics.width = mRect.width;
aMetrics.height = mRect.height;

View File

@ -674,7 +674,7 @@ nsBlockFrame::Reflow(nsIPresContext* aPresContext,
// If the incremental reflow command was handled by the absolute
// positioning code, then we're all done.
if (handled) {
if (handled && !aMetrics.mComputeMEW) {
// Just return our current size as our desired size.
aMetrics.width = mRect.width;
aMetrics.height = mRect.height;