Index: Source/core/css/DeprecatedStyleBuilder.cpp |
diff --git a/Source/core/css/DeprecatedStyleBuilder.cpp b/Source/core/css/DeprecatedStyleBuilder.cpp |
index 6b37bd2962f110845199f804fab2012ac5eeb0d1..dfc31ff225a21699e4f6eb2f5baf0b7048470921 100644 |
--- a/Source/core/css/DeprecatedStyleBuilder.cpp |
+++ b/Source/core/css/DeprecatedStyleBuilder.cpp |
@@ -1340,7 +1340,6 @@ public: |
} |
}; |
-#if ENABLE(CSS3_TEXT) |
class ApplyPropertyTextUnderlinePosition { |
public: |
static void applyValue(CSSPropertyID, StyleResolver* styleResolver, CSSValue* value) |
@@ -1366,7 +1365,6 @@ public: |
return PropertyHandler(handler.inheritFunction(), handler.initialFunction(), &applyValue); |
} |
}; |
-#endif // CSS3_TEXT |
class ApplyPropertyLineHeight { |
public: |
@@ -2115,12 +2113,12 @@ DeprecatedStyleBuilder::DeprecatedStyleBuilder() |
setPropertyHandler(CSSPropertyTextAlign, ApplyPropertyTextAlign::createHandler()); |
setPropertyHandler(CSSPropertyTextDecoration, ApplyPropertyTextDecoration::createHandler()); |
#if ENABLE(CSS3_TEXT) |
+ setPropertyHandler(CSSPropertyWebkitTextAlignLast, ApplyPropertyDefault<TextAlignLast, &RenderStyle::textAlignLast, TextAlignLast, &RenderStyle::setTextAlignLast, TextAlignLast, &RenderStyle::initialTextAlignLast>::createHandler()); |
+#endif // CSS3_TEXT |
setPropertyHandler(CSSPropertyWebkitTextDecorationLine, ApplyPropertyTextDecoration::createHandler()); |
setPropertyHandler(CSSPropertyWebkitTextDecorationStyle, ApplyPropertyDefault<TextDecorationStyle, &RenderStyle::textDecorationStyle, TextDecorationStyle, &RenderStyle::setTextDecorationStyle, TextDecorationStyle, &RenderStyle::initialTextDecorationStyle>::createHandler()); |
setPropertyHandler(CSSPropertyWebkitTextDecorationColor, ApplyPropertyColor<NoInheritFromParent, &RenderStyle::textDecorationColor, &RenderStyle::setTextDecorationColor, &RenderStyle::setVisitedLinkTextDecorationColor, &RenderStyle::color>::createHandler()); |
- setPropertyHandler(CSSPropertyWebkitTextAlignLast, ApplyPropertyDefault<TextAlignLast, &RenderStyle::textAlignLast, TextAlignLast, &RenderStyle::setTextAlignLast, TextAlignLast, &RenderStyle::initialTextAlignLast>::createHandler()); |
setPropertyHandler(CSSPropertyWebkitTextUnderlinePosition, ApplyPropertyTextUnderlinePosition::createHandler()); |
-#endif // CSS3_TEXT |
setPropertyHandler(CSSPropertyTextIndent, ApplyPropertyTextIndent::createHandler()); |
setPropertyHandler(CSSPropertyTextOverflow, ApplyPropertyDefault<TextOverflow, &RenderStyle::textOverflow, TextOverflow, &RenderStyle::setTextOverflow, TextOverflow, &RenderStyle::initialTextOverflow>::createHandler()); |
setPropertyHandler(CSSPropertyTextRendering, ApplyPropertyFont<TextRenderingMode, &FontDescription::textRenderingMode, &FontDescription::setTextRenderingMode, AutoTextRendering>::createHandler()); |