From afd2e409581edc4954943323f74f322c142008fb Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 5 Jan 2009 17:04:28 -0500 Subject: [PATCH] Backed out changeset f87b46d44d22 (bug 437366) --- layout/style/nsCSSDataBlock.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/layout/style/nsCSSDataBlock.cpp b/layout/style/nsCSSDataBlock.cpp index 627b1dcbb0d..4f9ccd7f3ea 100644 --- a/layout/style/nsCSSDataBlock.cpp +++ b/layout/style/nsCSSDataBlock.cpp @@ -251,12 +251,8 @@ nsCSSCompressedDataBlock::MapRuleInfoInto(nsRuleData *aRuleData) const mPresContext-> DefaultBackgroundColor()); } - } else if (iProp == eCSSProperty_color) { - // Force colors to the user's default. - target->SetColorValue(aRuleData-> - mPresContext-> DefaultColor()); } else { - // Ignore 'border-*-color', and + // Ignore 'color', 'border-*-color', and // 'background-image' *target = nsCSSValue(); }