From 1b7fd3dbf6f11423d68e16c7b5f7e8d133c598b8 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. git-svn-id: svn://10.0.0.236/trunk@127730 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsFrame.cpp | 2 +- mozilla/layout/html/base/src/nsFrame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/generic/nsFrame.cpp b/mozilla/layout/generic/nsFrame.cpp index fff12aa9de8..6a44466fbd8 100644 --- a/mozilla/layout/generic/nsFrame.cpp +++ b/mozilla/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/mozilla/layout/html/base/src/nsFrame.cpp b/mozilla/layout/html/base/src/nsFrame.cpp index fff12aa9de8..6a44466fbd8 100644 --- a/mozilla/layout/html/base/src/nsFrame.cpp +++ b/mozilla/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;