mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
fix oversight with zero rowspan handling bug 370808 r/sr=bzbarsky
This commit is contained in:
parent
284a5ea424
commit
9845cab803
@ -2807,7 +2807,13 @@ nsCellMapColumnIterator::GetNextFrame(PRInt32* aRow, PRInt32* aColSpan)
|
||||
PRInt32 rowspanOffset = cellData->GetRowSpanOffset();
|
||||
nsTableCellFrame* cellFrame = mCurMap->GetCellFrame(mCurMapRow, mCol, *cellData, PR_FALSE);
|
||||
NS_ASSERTION(cellFrame,"Must have usable originating data here");
|
||||
IncrementRow(cellFrame->GetRowSpan() - rowspanOffset);
|
||||
PRInt32 rowSpan = cellFrame->GetRowSpan();
|
||||
if (rowSpan == 0) {
|
||||
AdvanceRowGroup();
|
||||
}
|
||||
else {
|
||||
IncrementRow(rowSpan - rowspanOffset);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user