mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
lookup all columns for possible originating cells, bug 426706 r/sr=bzbarsky a=beltzner
This commit is contained in:
parent
4e493051f8
commit
e2c0c7cd77
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user