Bug 92217 [reflow] text doesn't rewrap after becoming small enough to wrap patch by <saito@densan.co.jp> r+sr=dbaron

This commit is contained in:
masayuki@d-toybox.com
2005-09-26 10:37:02 +00:00
parent 1246434c1a
commit 699c46c0c6

View File

@@ -1566,13 +1566,10 @@ nsBlockFrame::PrepareChildIncrementalReflow(nsBlockReflowState& aState)
}
}
// Just mark this line dirty. We never need to mark the
// previous line dirty since either:
// * the line is a block, and there would never be a chance to pull
// something up
// * It's an incremental reflow to something within an inline, which
// we know must be very limited.
line->MarkDirty();
// Mark this line dirty. We need to mark the previous line dirty
// if it is an inline line so that it can maybe pull up something
// from the just affected line.
MarkLineDirty(line);
}
return NS_OK;
}