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

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

Issue 636993002: [CSS Grid Layout] Upgrade justify-content parsing to CSS3 Box Alignment spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/StyleRareNonInheritedData.cpp
diff --git a/Source/core/rendering/style/StyleRareNonInheritedData.cpp b/Source/core/rendering/style/StyleRareNonInheritedData.cpp
index 57c810a017477e440462ba1bf3e15398238d1c43..ec6e7525976dc1de3866c38752b3a438875be3af 100644
--- a/Source/core/rendering/style/StyleRareNonInheritedData.cpp
+++ b/Source/core/rendering/style/StyleRareNonInheritedData.cpp
@@ -66,6 +66,8 @@ StyleRareNonInheritedData::StyleRareNonInheritedData()
, m_alignSelf(RenderStyle::initialAlignSelf())
, m_alignSelfOverflowAlignment(RenderStyle::initialAlignSelfOverflowAlignment())
, m_justifyContent(RenderStyle::initialJustifyContent())
+ , m_justifyContentDistribution(RenderStyle::initialJustifyContentDistribution())
+ , m_justifyContentOverflowAlignment(RenderStyle::initialJustifyContentOverflowAlignment())
, userDrag(RenderStyle::initialUserDrag())
, textOverflow(RenderStyle::initialTextOverflow())
, marginBeforeCollapse(MCOLLAPSE)
@@ -150,6 +152,8 @@ StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited
, m_alignSelf(o.m_alignSelf)
, m_alignSelfOverflowAlignment(o.m_alignSelfOverflowAlignment)
, m_justifyContent(o.m_justifyContent)
+ , m_justifyContentDistribution(o.m_justifyContentDistribution)
+ , m_justifyContentOverflowAlignment(o.m_justifyContentOverflowAlignment)
, userDrag(o.userDrag)
, textOverflow(o.textOverflow)
, marginBeforeCollapse(o.marginBeforeCollapse)
@@ -241,6 +245,8 @@ bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c
&& m_alignSelf == o.m_alignSelf
&& m_alignSelfOverflowAlignment == o.m_alignSelfOverflowAlignment
&& m_justifyContent == o.m_justifyContent
+ && m_justifyContentDistribution == o.m_justifyContentDistribution
+ && m_justifyContentOverflowAlignment == o.m_justifyContentOverflowAlignment
&& userDrag == o.userDrag
&& textOverflow == o.textOverflow
&& marginBeforeCollapse == o.marginBeforeCollapse

Powered by Google App Engine
This is Rietveld 408576698