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

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, 6 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 28de57d884d59b269f88653f740c6e7cb9b422ed..30ab7c5b096f8a138c6e8d3a5f7ff94e7331b77a 100644
--- a/Source/core/rendering/style/StyleRareInheritedData.cpp
+++ b/Source/core/rendering/style/StyleRareInheritedData.cpp
@@ -87,6 +87,7 @@ StyleRareInheritedData::StyleRareInheritedData()
, m_lineAlign(RenderStyle::initialLineAlign())
#if ENABLE(CSS3_TEXT)
, m_textAlignLast(RenderStyle::initialTextAlignLast())
+ , m_textJustify(RenderStyle::initialTextJustify())
, m_textUnderlinePosition(RenderStyle::initialTextUnderlinePosition())
#endif // CSS3_TEXT
, m_rubyPosition(RenderStyle::initialRubyPosition())
@@ -142,6 +143,7 @@ StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
, m_lineAlign(o.m_lineAlign)
#if ENABLE(CSS3_TEXT)
, m_textAlignLast(o.m_textAlignLast)
+ , m_textJustify(o.m_textJustify)
, m_textUnderlinePosition(o.m_textUnderlinePosition)
#endif // CSS3_TEXT
, m_rubyPosition(o.m_rubyPosition)
@@ -220,6 +222,7 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const
&& m_imageRendering == o.m_imageRendering
#if ENABLE(CSS3_TEXT)
&& m_textAlignLast == o.m_textAlignLast
+ && m_textJustify == o.m_textJustify
&& m_textUnderlinePosition == o.m_textUnderlinePosition
#endif // CSS3_TEXT
&& m_rubyPosition == o.m_rubyPosition

Powered by Google App Engine
This is Rietveld 408576698