lookup all columns for possible originating cells, bug 426706 r/sr=bzbarsky a=beltzner

git-svn-id: svn://10.0.0.236/trunk@249688 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bmlk%gmx.de 2008-04-06 12:16:45 +00:00
parent a2a7f201ad
commit 20a0f0e41e

View File

@ -1757,7 +1757,8 @@ nsTableRowGroupFrame::FindFrameAt(PRInt32 aLineNumber,
}
nsIFrame* frame = nsnull;
for (PRInt32 i = 0; i < numCells; i++) {
PRInt32 colCount = table->GetColCount();
for (PRInt32 i = 0; i < colCount; i++) {
CellData* data = cellMap->GetDataAt(aLineNumber, i);
if (data && data->IsOrig()) {
frame = (nsIFrame*)data->GetCellFrame();