Index: Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp |
index 2b6271c4cec25b0ab1ddbb4174e4ee66068c339f..efaea630e564c58861bfaf2802b690b45282b65d 100644 |
--- a/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -1865,6 +1865,18 @@ void StyleBuilder::oldApplyProperty(CSSPropertyID id, StyleResolverState& state, |
return; |
} |
+ case CSSPropertyJustifySelf: { |
+ HANDLE_INHERIT_AND_INITIAL(justifySelf, JustifySelf); |
+ CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
+ if (Pair* pairValue = primitiveValue->getPairValue()) { |
+ state.style()->setJustifySelf(*pairValue->first()); |
+ state.style()->setJustifySelfOverflowAlignment(*pairValue->second()); |
+ } else { |
+ state.style()->setJustifySelf(*primitiveValue); |
+ } |
+ return; |
+ } |
+ |
// These properties are aliased and we already applied the property on the prefixed version. |
case CSSPropertyAnimationDelay: |
case CSSPropertyAnimationDirection: |