Index: Source/core/rendering/style/RenderStyle.h |
diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h |
index e922533fa407b05f926deb7d531b9171008a11b1..ad481226ceec9a02d1b692861e2d9beb72fdcaf2 100644 |
--- a/Source/core/rendering/style/RenderStyle.h |
+++ b/Source/core/rendering/style/RenderStyle.h |
@@ -575,6 +575,7 @@ public: |
const Length& textIndent() const { return rareInheritedData->indent; } |
TextIndentLine textIndentLine() const { return static_cast<TextIndentLine>(rareInheritedData->m_textIndentLine); } |
+ TextIndentType textIndentType() const { return static_cast<TextIndentType>(rareInheritedData->m_textIndentType); } |
ETextAlign textAlign() const { return static_cast<ETextAlign>(inherited_flags._text_align); } |
TextAlignLast textAlignLast() const { return static_cast<TextAlignLast>(rareInheritedData->m_textAlignLast); } |
TextJustify textJustify() const { return static_cast<TextJustify>(rareInheritedData->m_textJustify); } |
@@ -1103,6 +1104,7 @@ public: |
void setColor(const Color&); |
void setTextIndent(Length v) { SET_VAR(rareInheritedData, indent, v); } |
void setTextIndentLine(TextIndentLine v) { SET_VAR(rareInheritedData, m_textIndentLine, v); } |
+ void setTextIndentType(TextIndentType v) { SET_VAR(rareInheritedData, m_textIndentType, v); } |
void setTextAlign(ETextAlign v) { inherited_flags._text_align = v; } |
void setTextAlignLast(TextAlignLast v) { SET_VAR(rareInheritedData, m_textAlignLast, v); } |
void setTextJustify(TextJustify v) { SET_VAR(rareInheritedData, m_textJustify, v); } |
@@ -1558,6 +1560,7 @@ public: |
static Length initialPadding() { return Length(Fixed); } |
static Length initialTextIndent() { return Length(Fixed); } |
static TextIndentLine initialTextIndentLine() { return TextIndentFirstLine; } |
+ static TextIndentType initialTextIndentType() { return TextIndentNormal; } |
static EVerticalAlign initialVerticalAlign() { return BASELINE; } |
static short initialWidows() { return 2; } |
static short initialOrphans() { return 2; } |