зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
3a8c4a13f6
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче