bug 107857 - add -moz-show-background value to empty-cells and make that the quirk default. sr=attinasi, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@107482 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -330,6 +330,7 @@ CSS_KEY(semi-condensed, semi_condensed)
|
||||
CSS_KEY(semi-expanded, semi_expanded)
|
||||
CSS_KEY(separate, separate)
|
||||
CSS_KEY(show, show)
|
||||
CSS_KEY(-moz-show-background, show_background)
|
||||
CSS_KEY(silent, silent)
|
||||
CSS_KEY(-moz-simp-chinese-formal, _moz_simp_chinese_formal)
|
||||
CSS_KEY(-moz-simp-chinese-informal, _moz_simp_chinese_informal)
|
||||
|
||||
@@ -349,8 +349,9 @@ const PRInt32 nsCSSProps::kElevationKTable[] = {
|
||||
};
|
||||
|
||||
const PRInt32 nsCSSProps::kEmptyCellsKTable[] = {
|
||||
eCSSKeyword_show, NS_STYLE_TABLE_EMPTY_CELLS_SHOW,
|
||||
eCSSKeyword_hide, NS_STYLE_TABLE_EMPTY_CELLS_HIDE,
|
||||
eCSSKeyword_show, NS_STYLE_TABLE_EMPTY_CELLS_SHOW,
|
||||
eCSSKeyword_hide, NS_STYLE_TABLE_EMPTY_CELLS_HIDE,
|
||||
eCSSKeyword_show_background, NS_STYLE_TABLE_EMPTY_CELLS_SHOW_BACKGROUND,
|
||||
-1,-1
|
||||
};
|
||||
|
||||
|
||||
@@ -765,7 +765,7 @@ nsStyleTableBorder::nsStyleTableBorder(nsIPresContext* aPresContext)
|
||||
if (aPresContext)
|
||||
aPresContext->GetCompatibilityMode(&compatMode);
|
||||
mEmptyCells = (compatMode == eCompatibility_NavQuirks
|
||||
? NS_STYLE_TABLE_EMPTY_CELLS_HIDE // bug 33244
|
||||
? NS_STYLE_TABLE_EMPTY_CELLS_SHOW_BACKGROUND
|
||||
: NS_STYLE_TABLE_EMPTY_CELLS_SHOW);
|
||||
mCaptionSide = NS_SIDE_TOP;
|
||||
mBorderSpacingX.Reset();
|
||||
|
||||
Reference in New Issue
Block a user