mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
merge to tip
This commit is contained in:
commit
86b7b4a27b
@ -215,7 +215,10 @@ nsTableColGroupFrame::DidSetStyleContext(nsStyleContext* aOldStyleContext)
|
||||
|
||||
if (tableFrame->IsBorderCollapse() &&
|
||||
tableFrame->BCRecalcNeeded(aOldStyleContext, GetStyleContext())) {
|
||||
nsRect damageArea(GetFirstColumn()->GetColIndex(), 0, GetColCount(),
|
||||
PRInt32 colCount = GetColCount();
|
||||
if (!colCount)
|
||||
return; // this is a degenerated colgroup
|
||||
nsRect damageArea(GetFirstColumn()->GetColIndex(), 0, colCount,
|
||||
tableFrame->GetRowCount());
|
||||
tableFrame->SetBCDamageArea(damageArea);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user