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:
bzbarsky%mit.edu
2004-11-30 18:30:58 +00:00
parent 0456aa4aff
commit 98e8d59a4a
6 changed files with 40 additions and 68 deletions

View File

@@ -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)