fix initial value of border collapse

git-svn-id: svn://10.0.0.236/trunk@42678 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com
1999-08-08 01:14:36 +00:00
parent ac9e8c5d0f
commit 8e281ce1df
3 changed files with 3 additions and 3 deletions

View File

@@ -930,7 +930,7 @@ void StyleTableImpl::ResetFrom(const nsStyleTable* aParent, nsIPresContext* aPre
mSpanWidth = aParent->mSpanWidth;
}
else {
mBorderCollapse = NS_STYLE_BORDER_SEPARATE;
mBorderCollapse = NS_STYLE_BORDER_COLLAPSE;
mEmptyCells = NS_STYLE_TABLE_EMPTY_CELLS_HIDE;
mCaptionSide = NS_SIDE_TOP;
mBorderSpacingX.Reset();

View File

@@ -930,7 +930,7 @@ void StyleTableImpl::ResetFrom(const nsStyleTable* aParent, nsIPresContext* aPre
mSpanWidth = aParent->mSpanWidth;
}
else {
mBorderCollapse = NS_STYLE_BORDER_SEPARATE;
mBorderCollapse = NS_STYLE_BORDER_COLLAPSE;
mEmptyCells = NS_STYLE_TABLE_EMPTY_CELLS_HIDE;
mCaptionSide = NS_SIDE_TOP;
mBorderSpacingX.Reset();

View File

@@ -930,7 +930,7 @@ void StyleTableImpl::ResetFrom(const nsStyleTable* aParent, nsIPresContext* aPre
mSpanWidth = aParent->mSpanWidth;
}
else {
mBorderCollapse = NS_STYLE_BORDER_SEPARATE;
mBorderCollapse = NS_STYLE_BORDER_COLLAPSE;
mEmptyCells = NS_STYLE_TABLE_EMPTY_CELLS_HIDE;
mCaptionSide = NS_SIDE_TOP;
mBorderSpacingX.Reset();