fix for a regression from bug 271789, deadcells are nearly equivalent to complete cellmap holes, bug 317148 r/sr=bzbarsky

This commit is contained in:
bmlk@gmx.de
2005-11-21 18:08:30 +00:00
parent bd7f12702e
commit 10535ed547

View File

@@ -1450,7 +1450,7 @@ void nsCellMap::InsertCells(nsTableCellMap& aMap,
PRInt32 startColIndex;
for (startColIndex = aColIndexBefore + 1; startColIndex < numCols; startColIndex++) {
CellData* data = GetDataAt(aMap, aRowIndex, startColIndex, PR_TRUE);
if (!data || data->IsOrig()) { // stop unless it is a span
if (!data || data->IsOrig() || data->IsDead()) { // stop unless it is a span
break;
}
}