From 4f5986ffdcdb94f1aeef94175a2b1a6bf6a68f15 Mon Sep 17 00:00:00 2001 From: "mjudge%netscape.com" Date: Tue, 20 Aug 2002 22:42:26 +0000 Subject: [PATCH] 163631 fixing regression caused by last checkin. just undoing to what was there allready. no need to check height on frames. this messed up table row group frames. --- layout/generic/nsFrame.cpp | 2 +- layout/html/base/src/nsFrame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp index fff12aa9de87..6a44466fbd87 100644 --- a/layout/generic/nsFrame.cpp +++ b/layout/generic/nsFrame.cpp @@ -3056,7 +3056,7 @@ nsFrame::GetNextPrevLineFromeBlockFrame(nsIPresContext* aPresContext, PRUint32 lineFlags; result = it->GetLine(searchingLine, &firstFrame, &lineFrameCount, rect, &lineFlags); - if (!lineFrameCount || !rect.height) //if no height not a valid line either. + if (!lineFrameCount) continue; if (NS_SUCCEEDED(result)){ lastFrame = firstFrame; diff --git a/layout/html/base/src/nsFrame.cpp b/layout/html/base/src/nsFrame.cpp index fff12aa9de87..6a44466fbd87 100644 --- a/layout/html/base/src/nsFrame.cpp +++ b/layout/html/base/src/nsFrame.cpp @@ -3056,7 +3056,7 @@ nsFrame::GetNextPrevLineFromeBlockFrame(nsIPresContext* aPresContext, PRUint32 lineFlags; result = it->GetLine(searchingLine, &firstFrame, &lineFrameCount, rect, &lineFlags); - if (!lineFrameCount || !rect.height) //if no height not a valid line either. + if (!lineFrameCount) continue; if (NS_SUCCEEDED(result)){ lastFrame = firstFrame;