Index: Source/WebCore/editing/EditingStyle.cpp |
=================================================================== |
--- Source/WebCore/editing/EditingStyle.cpp (revision 117498) |
+++ Source/WebCore/editing/EditingStyle.cpp (working copy) |
@@ -1493,7 +1493,7 @@ |
diffTextDecorations(result.get(), CSSPropertyTextDecoration, baseTextDecorationsInEffect.get()); |
diffTextDecorations(result.get(), CSSPropertyWebkitTextDecorationsInEffect, baseTextDecorationsInEffect.get()); |
- if (baseStyle->getPropertyCSSValueInternal(CSSPropertyFontSize) && fontWeightIsBold(result.get()) == fontWeightIsBold(baseStyle)) |
+ if (baseStyle->getPropertyCSSValueInternal(CSSPropertyFontWeight) && fontWeightIsBold(result.get()) == fontWeightIsBold(baseStyle)) |
result->removeProperty(CSSPropertyFontWeight); |
if (baseStyle->getPropertyCSSValueInternal(CSSPropertyColor) && getRGBAFontColor(result.get()) == getRGBAFontColor(baseStyle)) |