Bug 397448 - "ASSERTION: Doing nscoord addition with values > nscoord_MAX" with percentage margin in table cell. r=roc sr=roc approval19=roc
This commit is contained in:
@@ -611,7 +611,8 @@ BasicTableLayoutStrategy::ComputeIntrinsicWidths(nsIRenderingContext* aRendering
|
||||
}
|
||||
pct_total += p;
|
||||
} else {
|
||||
nonpct_pref_total += colFrame->GetPrefCoord();
|
||||
nonpct_pref_total = NSCoordSaturatingAdd(nonpct_pref_total,
|
||||
colFrame->GetPrefCoord());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user