mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 09:01:16 +00:00
when we remove cells the number of columns in the cellmap may rise if rowspans are involved bug 343778 r/sr=bzbarsky
This commit is contained in:
parent
d6bc622d98
commit
9a79b08c79
@ -1073,8 +1073,10 @@ void nsTableFrame::RemoveCell(nsTableCellFrame* aCellFrame,
|
||||
cellMap->AddColsAtEnd(numColsNotRemoved);
|
||||
}
|
||||
}
|
||||
else NS_ASSERTION(numColsInCache == numColsInMap, "cell map has too many cols");
|
||||
|
||||
else if (numColsInCache < numColsInMap) {
|
||||
// this sets the child list, updates the col cache and cell map
|
||||
CreateAnonymousColFrames(numColsInMap - numColsInCache, eColAnonymousCell, PR_TRUE);
|
||||
}
|
||||
if (IsBorderCollapse()) {
|
||||
SetBCDamageArea(damageArea);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user