зеркало из https://github.com/mozilla/gecko-dev.git
the cursor should move at positions where the cellmap has holes, bug 193405 r=jkeiser sr/a=dbaron
This commit is contained in:
Родитель
ee25933de6
Коммит
918c00dbae
|
@ -2063,6 +2063,8 @@ nsTableRowGroupFrame::FindFrameAt(PRInt32 aLineNumber,
|
|||
for (PRInt32 i = 0; i < colCount; i++)
|
||||
{
|
||||
cellData = cellMap->GetDataAt(aLineNumber, i);
|
||||
if (!cellData)
|
||||
continue; // we hit a cellmap hole
|
||||
if (!cellData->IsOrig())
|
||||
continue;
|
||||
tempFrame = (nsIFrame*)cellData->GetCellFrame();
|
||||
|
|
|
@ -2063,6 +2063,8 @@ nsTableRowGroupFrame::FindFrameAt(PRInt32 aLineNumber,
|
|||
for (PRInt32 i = 0; i < colCount; i++)
|
||||
{
|
||||
cellData = cellMap->GetDataAt(aLineNumber, i);
|
||||
if (!cellData)
|
||||
continue; // we hit a cellmap hole
|
||||
if (!cellData->IsOrig())
|
||||
continue;
|
||||
tempFrame = (nsIFrame*)cellData->GetCellFrame();
|
||||
|
|
Загрузка…
Ссылка в новой задаче