Fix various bugs in the column iterator's keeping track of the current row.
Bug 367749, r=bernd, sr=roc
This commit is contained in:
@@ -327,9 +327,10 @@ BasicTableLayoutStrategy::ComputeColumnIntrinsicWidths(nsIRenderingContext* aRen
|
||||
PRInt32 row = item->row;
|
||||
col = item->col;
|
||||
CellData *cellData = cellMap->GetDataAt(row, col);
|
||||
nsTableCellFrame *cellFrame = cellData->GetCellFrame();
|
||||
NS_ASSERTION(cellData && cellData->IsOrig(),
|
||||
"bogus result from spanning cell sorter");
|
||||
|
||||
nsTableCellFrame *cellFrame = cellData->GetCellFrame();
|
||||
NS_ASSERTION(cellFrame, "bogus result from spanning cell sorter");
|
||||
|
||||
CellWidthInfo info = GetCellWidthInfo(aRenderingContext, cellFrame);
|
||||
|
||||
Reference in New Issue
Block a user