mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 06:52:25 +00:00
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:
parent
3a8c4a13f6
commit
4f5986ffdc
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user