Index: Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp |
index e56e1aa9c9bcc3aed21c9d93303010d903327ed4..b8db6fa9fef7906ec184383c2035f3bceb65c12a 100755 |
--- a/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -59,6 +59,7 @@ |
#include "core/css/CSSReflectValue.h" |
#include "core/css/CSSVariableValue.h" |
#include "core/css/Counter.h" |
+#include "core/css/Pair.h" |
#include "core/css/Rect.h" |
#include "core/css/StylePropertySet.h" |
#include "core/css/StyleRule.h" |
@@ -1700,6 +1701,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: |