Fix asserts by making sure that border-spacing is always computed to coord
values. Bug 270325, r+sr=dbaron git-svn-id: svn://10.0.0.236/trunk@165948 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1101,8 +1101,8 @@ nsStyleTableBorder::nsStyleTableBorder(nsPresContext* aPresContext)
|
||||
? NS_STYLE_TABLE_EMPTY_CELLS_SHOW_BACKGROUND
|
||||
: NS_STYLE_TABLE_EMPTY_CELLS_SHOW;
|
||||
mCaptionSide = NS_SIDE_TOP;
|
||||
mBorderSpacingX.Reset();
|
||||
mBorderSpacingY.Reset();
|
||||
mBorderSpacingX.SetCoordValue(0);
|
||||
mBorderSpacingY.SetCoordValue(0);
|
||||
}
|
||||
|
||||
nsStyleTableBorder::~nsStyleTableBorder(void)
|
||||
|
||||
Reference in New Issue
Block a user