зеркало из https://github.com/mozilla/gecko-dev.git
Don't create dead cells if the position is outside the cellmap boundaries. bug 328339 r/sr=bz
This commit is contained in:
Родитель
20b85ffac2
Коммит
1c6c74da4a
|
@ -2351,12 +2351,13 @@ nsCellMap::GetDataAt(nsTableCellMap& aMap,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (!didZeroExpand) {
|
if (!didZeroExpand) {
|
||||||
// mark this point dead
|
// mark this point dead as we checked rowspans above
|
||||||
CellData* cellData = AllocCellData(nsnull);
|
CellData* cellData = AllocCellData(nsnull);
|
||||||
if (cellData)
|
if (cellData)
|
||||||
SetDataAt(aMap, *cellData, aMapRowIndex, aColIndex, PR_FALSE);
|
SetDataAt(aMap, *cellData, aMapRowIndex, aColIndex, PR_FALSE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// if zero span adjustments were made the data may be available now
|
// if zero span adjustments were made the data may be available now
|
||||||
if (!data && didZeroExpand) {
|
if (!data && didZeroExpand) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче