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.

This commit is contained in:
mjudge%netscape.com 2002-08-20 22:42:26 +00:00
parent 3a8c4a13f6
commit 4f5986ffdc
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;