| Index: Source/core/rendering/style/RenderStyle.h
|
| diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h
|
| index bf32e1a423b9782ae22d83a68d3abd256071c40a..c810cf8764cc69b0a9e0a3c44ff66d90aee6caf8 100644
|
| --- a/Source/core/rendering/style/RenderStyle.h
|
| +++ b/Source/core/rendering/style/RenderStyle.h
|
| @@ -552,12 +552,10 @@ public:
|
| ETextDecoration textDecorationsInEffect() const { return static_cast<ETextDecoration>(inherited_flags._text_decorations); }
|
| ETextDecoration textDecoration() const { return static_cast<ETextDecoration>(visual->textDecoration); }
|
| #if ENABLE(CSS3_TEXT)
|
| - TextDecorationStyle textDecorationStyle() const { return static_cast<TextDecorationStyle>(rareNonInheritedData->m_textDecorationStyle); }
|
| TextAlignLast textAlignLast() const { return static_cast<TextAlignLast>(rareInheritedData->m_textAlignLast); }
|
| - TextUnderlinePosition textUnderlinePosition() const { return static_cast<TextUnderlinePosition>(rareInheritedData->m_textUnderlinePosition); }
|
| -#else
|
| - TextDecorationStyle textDecorationStyle() const { return TextDecorationStyleSolid; }
|
| #endif // CSS3_TEXT
|
| + TextDecorationStyle textDecorationStyle() const { return static_cast<TextDecorationStyle>(rareNonInheritedData->m_textDecorationStyle); }
|
| + TextUnderlinePosition textUnderlinePosition() const { return static_cast<TextUnderlinePosition>(rareInheritedData->m_textUnderlinePosition); }
|
| int wordSpacing() const;
|
| int letterSpacing() const;
|
|
|
| @@ -1065,10 +1063,10 @@ public:
|
| void setTextDecorationsInEffect(ETextDecoration v) { inherited_flags._text_decorations = v; }
|
| void setTextDecoration(ETextDecoration v) { SET_VAR(visual, textDecoration, v); }
|
| #if ENABLE(CSS3_TEXT)
|
| - void setTextDecorationStyle(TextDecorationStyle v) { SET_VAR(rareNonInheritedData, m_textDecorationStyle, v); }
|
| void setTextAlignLast(TextAlignLast v) { SET_VAR(rareInheritedData, m_textAlignLast, v); }
|
| - void setTextUnderlinePosition(TextUnderlinePosition v) { SET_VAR(rareInheritedData, m_textUnderlinePosition, v); }
|
| #endif // CSS3_TEXT
|
| + void setTextDecorationStyle(TextDecorationStyle v) { SET_VAR(rareNonInheritedData, m_textDecorationStyle, v); }
|
| + void setTextUnderlinePosition(TextUnderlinePosition v) { SET_VAR(rareInheritedData, m_textUnderlinePosition, v); }
|
| void setDirection(TextDirection v) { inherited_flags._direction = v; }
|
| void setLineHeight(Length specifiedLineHeight);
|
| bool setZoom(float);
|
| @@ -1263,9 +1261,7 @@ public:
|
| void setTransformOriginZ(float f) { SET_VAR(rareNonInheritedData.access()->m_transform, m_z, f); }
|
| void setSpeak(ESpeak s) { SET_VAR(rareInheritedData, speak, s); }
|
| void setTextCombine(TextCombine v) { SET_VAR(rareNonInheritedData, m_textCombine, v); }
|
| -#if ENABLE(CSS3_TEXT)
|
| void setTextDecorationColor(const Color& c) { SET_VAR(rareNonInheritedData, m_textDecorationColor, c); }
|
| -#endif // CSS3_TEXT
|
| void setTextEmphasisColor(const Color& c) { SET_VAR(rareInheritedData, textEmphasisColor, c); }
|
| void setTextEmphasisFill(TextEmphasisFill fill) { SET_VAR(rareInheritedData, textEmphasisFill, fill); }
|
| void setTextEmphasisMark(TextEmphasisMark mark) { SET_VAR(rareInheritedData, textEmphasisMark, mark); }
|
| @@ -1525,10 +1521,10 @@ public:
|
| static ETextAlign initialTextAlign() { return TASTART; }
|
| static ETextDecoration initialTextDecoration() { return TDNONE; }
|
| #if ENABLE(CSS3_TEXT)
|
| - static TextDecorationStyle initialTextDecorationStyle() { return TextDecorationStyleSolid; }
|
| static TextAlignLast initialTextAlignLast() { return TextAlignLastAuto; }
|
| - static TextUnderlinePosition initialTextUnderlinePosition() { return TextUnderlinePositionAuto; }
|
| #endif // CSS3_TEXT
|
| + static TextDecorationStyle initialTextDecorationStyle() { return TextDecorationStyleSolid; }
|
| + static TextUnderlinePosition initialTextUnderlinePosition() { return TextUnderlinePositionAuto; }
|
| static float initialZoom() { return 1.0f; }
|
| static int initialOutlineOffset() { return 0; }
|
| static float initialOpacity() { return 1.0f; }
|
| @@ -1658,9 +1654,7 @@ private:
|
| void setVisitedLinkBorderTopColor(const Color& v) { SET_VAR(rareNonInheritedData, m_visitedLinkBorderTopColor, v); }
|
| void setVisitedLinkOutlineColor(const Color& v) { SET_VAR(rareNonInheritedData, m_visitedLinkOutlineColor, v); }
|
| void setVisitedLinkColumnRuleColor(const Color& v) { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_visitedLinkColumnRuleColor, v); }
|
| -#if ENABLE(CSS3_TEXT)
|
| void setVisitedLinkTextDecorationColor(const Color& v) { SET_VAR(rareNonInheritedData, m_visitedLinkTextDecorationColor, v); }
|
| -#endif // CSS3_TEXT
|
| void setVisitedLinkTextEmphasisColor(const Color& v) { SET_VAR(rareInheritedData, visitedLinkTextEmphasisColor, v); }
|
| void setVisitedLinkTextFillColor(const Color& v) { SET_VAR(rareInheritedData, visitedLinkTextFillColor, v); }
|
| void setVisitedLinkTextStrokeColor(const Color& v) { SET_VAR(rareInheritedData, visitedLinkTextStrokeColor, v); }
|
| @@ -1711,10 +1705,8 @@ private:
|
| Color visitedLinkBorderTopColor() const { return rareNonInheritedData->m_visitedLinkBorderTopColor; }
|
| Color visitedLinkOutlineColor() const { return rareNonInheritedData->m_visitedLinkOutlineColor; }
|
| Color visitedLinkColumnRuleColor() const { return rareNonInheritedData->m_multiCol->m_visitedLinkColumnRuleColor; }
|
| -#if ENABLE(CSS3_TEXT)
|
| Color textDecorationColor() const { return rareNonInheritedData->m_textDecorationColor; }
|
| Color visitedLinkTextDecorationColor() const { return rareNonInheritedData->m_visitedLinkTextDecorationColor; }
|
| -#endif // CSS3_TEXT
|
| Color visitedLinkTextEmphasisColor() const { return rareInheritedData->visitedLinkTextEmphasisColor; }
|
| Color visitedLinkTextFillColor() const { return rareInheritedData->visitedLinkTextFillColor; }
|
| Color visitedLinkTextStrokeColor() const { return rareInheritedData->visitedLinkTextStrokeColor; }
|
|
|