From ac6d7c116e54dbc2516d6bb17762deb7347c18b3 Mon Sep 17 00:00:00 2001 From: buster Date: Thu, 23 Apr 1998 17:22:46 +0000 Subject: [PATCH] fixed a bug where a case during pagination wasn't being tested correctly --- layout/html/base/src/nsColumnFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/html/base/src/nsColumnFrame.cpp b/layout/html/base/src/nsColumnFrame.cpp index 22cfc0fc0d5e..0e7ed9fa4a62 100644 --- a/layout/html/base/src/nsColumnFrame.cpp +++ b/layout/html/base/src/nsColumnFrame.cpp @@ -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