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:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user