Index: Source/core/style/ComputedStyle.cpp |
diff --git a/Source/core/style/ComputedStyle.cpp b/Source/core/style/ComputedStyle.cpp |
index 1b8ba51fa4a4b1a05e5b97f971778656dbac7c7e..1b91983041e287c995298bf2ebd3d2a3c03f11ed 100644 |
--- a/Source/core/style/ComputedStyle.cpp |
+++ b/Source/core/style/ComputedStyle.cpp |
@@ -179,10 +179,7 @@ StyleRecalcChange ComputedStyle::stylePropagationDiff(const ComputedStyle* oldSt |
|| !oldStyle->contentDataEquivalent(newStyle) |
|| oldStyle->hasTextCombine() != newStyle->hasTextCombine() |
|| oldStyle->justifyItems() != newStyle->justifyItems() |
- || oldStyle->justifyItemsOverflowAlignment() != newStyle->justifyItemsOverflowAlignment() |
- || oldStyle->justifyItemsPositionType() != newStyle->justifyItemsPositionType() |
- || oldStyle->alignItems() != newStyle->alignItems() |
- || oldStyle->alignItemsOverflowAlignment() != newStyle->alignItemsOverflowAlignment()) |
+ || oldStyle->alignItems() != newStyle->alignItems()) |
return Reattach; |
if (oldStyle->inheritedNotEqual(*newStyle)) |
@@ -201,15 +198,15 @@ ItemPosition ComputedStyle::resolveAlignment(const ComputedStyle& parentStyle, c |
{ |
// The auto keyword computes to the parent's align-items computed value, or to "stretch", if not set or "auto". |
if (childStyle.alignSelf() == ItemPositionAuto) |
- return (parentStyle.alignItems() == ItemPositionAuto) ? resolvedAutoPositionForLayoutObject : parentStyle.alignItems(); |
- return childStyle.alignSelf(); |
+ return (parentStyle.alignItems() == ItemPositionAuto) ? resolvedAutoPositionForLayoutObject : parentStyle.alignItemsPosition(); |
+ return childStyle.alignSelfPosition(); |
} |
ItemPosition ComputedStyle::resolveJustification(const ComputedStyle& parentStyle, const ComputedStyle& childStyle, ItemPosition resolvedAutoPositionForLayoutObject) |
{ |
if (childStyle.justifySelf() == ItemPositionAuto) |
- return (parentStyle.justifyItems() == ItemPositionAuto) ? resolvedAutoPositionForLayoutObject : parentStyle.justifyItems(); |
- return childStyle.justifySelf(); |
+ return (parentStyle.justifyItems() == ItemPositionAuto) ? resolvedAutoPositionForLayoutObject : parentStyle.justifyItemsPosition(); |
+ return childStyle.justifySelfPosition(); |
} |
void ComputedStyle::inheritFrom(const ComputedStyle& inheritParent, IsAtShadowBoundary isAtShadowBoundary) |
@@ -649,12 +646,11 @@ bool ComputedStyle::diffNeedsFullLayout(const ComputedStyle& other) const |
if (rareNonInheritedData.get() != other.rareNonInheritedData.get()) { |
if (rareNonInheritedData->m_alignContent != other.rareNonInheritedData->m_alignContent |
- || rareNonInheritedData->m_alignContentDistribution != other.rareNonInheritedData->m_alignContentDistribution |
|| rareNonInheritedData->m_alignItems != other.rareNonInheritedData->m_alignItems |
|| rareNonInheritedData->m_alignSelf != other.rareNonInheritedData->m_alignSelf |
- || rareNonInheritedData->m_alignSelfOverflowAlignment != other.rareNonInheritedData->m_alignSelfOverflowAlignment |
|| rareNonInheritedData->m_justifyContent != other.rareNonInheritedData->m_justifyContent |
- || rareNonInheritedData->m_justifyContentDistribution != other.rareNonInheritedData->m_justifyContentDistribution) |
+ || rareNonInheritedData->m_justifyItems != other.rareNonInheritedData->m_justifyItems |
+ || rareNonInheritedData->m_justifySelf != other.rareNonInheritedData->m_justifySelf) |
return true; |
} |