fixed a bug where a case during pagination wasn't being tested correctly

This commit is contained in:
buster 1998-04-23 17:22:46 +00:00
parent 742a6deb6f
commit ac6d7c116e

View File

@ -757,7 +757,7 @@ ColumnFrame::ReflowUnmappedChildren(nsIPresContext* aPresContext,
}
// Did the child fit?
if ((nsnull != mFirstChild) &&
if ((kidFrame != mFirstChild) &&
((kidAvailSize.height <= 0) ||
(kidRect.YMost() > kidAvailSize.height))) {
// The child's height is too big to fit in our remaining