merge backout of bug 437366.

This commit is contained in:
Boris Zbarsky 2009-01-05 17:05:03 -05:00
commit 0e1f66b41d

View File

@ -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();
}