Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1115)

Unified Diff: Source/core/rendering/style/StyleRareInheritedData.cpp

Issue 17155007: [CSS3] Parsing the property, text-justify. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parsingTextJustify
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/style/StyleRareInheritedData.cpp
diff --git a/Source/core/rendering/style/StyleRareInheritedData.cpp b/Source/core/rendering/style/StyleRareInheritedData.cpp
index 90043c3b750e78bf567fe120dfbdd7cf129013ed..c3ef9210d53213741b2f1099e45d3123d32a25e4 100644
--- a/Source/core/rendering/style/StyleRareInheritedData.cpp
+++ b/Source/core/rendering/style/StyleRareInheritedData.cpp
@@ -77,6 +77,7 @@ StyleRareInheritedData::StyleRareInheritedData()
, textEmphasisMark(TextEmphasisMarkNone)
, textEmphasisPosition(TextEmphasisPositionOver)
, m_textAlignLast(RenderStyle::initialTextAlignLast())
+ , m_textJustify(RenderStyle::initialTextJustify())
, m_textOrientation(TextOrientationVerticalRight)
#if ENABLE(CSS3_TEXT)
, m_textIndentLine(RenderStyle::initialTextIndentLine())
@@ -131,6 +132,7 @@ StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
, textEmphasisMark(o.textEmphasisMark)
, textEmphasisPosition(o.textEmphasisPosition)
, m_textAlignLast(o.m_textAlignLast)
+ , m_textJustify(o.m_textJustify)
, m_textOrientation(o.m_textOrientation)
#if ENABLE(CSS3_TEXT)
, m_textIndentLine(o.m_textIndentLine)
@@ -204,6 +206,7 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const
&& textEmphasisMark == o.textEmphasisMark
&& textEmphasisPosition == o.textEmphasisPosition
&& m_textAlignLast == o.m_textAlignLast
+ && m_textJustify == o.m_textJustify
&& m_textOrientation == o.m_textOrientation
#if ENABLE(CSS3_TEXT)
&& m_textIndentLine == o.m_textIndentLine

Powered by Google App Engine
This is Rietveld 408576698