Index: Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp |
index 1a5623e5efe9147ba36642c9dcc0f84837270c36..e160aeb88893bc49d20d26649f536b52b7f370bf 100644 |
--- a/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -285,9 +285,11 @@ void StyleBuilderFunctions::applyValueCSSPropertyFontWeight(StyleResolverState& |
ASSERT_NOT_REACHED(); |
break; |
case CSSValueBolder: |
+ state.fontBuilder().setWeight(state.parentStyle()->fontDescription().weight()); |
state.fontBuilder().setWeightBolder(); |
break; |
case CSSValueLighter: |
+ state.fontBuilder().setWeight(state.parentStyle()->fontDescription().weight()); |
state.fontBuilder().setWeightLighter(); |
break; |
default: |