Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index 0ab1c7ca2f58c2de588450f6c20e6f1bd76d459a..210762aa7aabc96fb6220d87392b957b053a4d68 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -143,6 +143,7 @@ static const CSSPropertyID staticComputableProperties[] = { |
CSSPropertyHeight, |
CSSPropertyImageRendering, |
CSSPropertyIsolation, |
+ CSSPropertyJustifySelf, |
CSSPropertyLeft, |
CSSPropertyLetterSpacing, |
CSSPropertyLineHeight, |
@@ -2096,6 +2097,13 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert |
return CSSPrimitiveValue::create(style->imageRendering()); |
case CSSPropertyIsolation: |
return cssValuePool().createValue(style->isolation()); |
+ case CSSPropertyJustifySelf: { |
+ RefPtr<CSSValueList> result = CSSValueList::createSpaceSeparated(); |
+ result->append(CSSPrimitiveValue::create(style->justifySelf())); |
+ if (style->justifySelf() >= JustifySelfCenter && style->justifySelfOverflowAlignment() != JustifySelfOverflowAlignmentDefault) |
+ result->append(CSSPrimitiveValue::create(style->justifySelfOverflowAlignment())); |
+ return result.release(); |
+ } |
case CSSPropertyLeft: |
return valueForPositionOffset(*style, CSSPropertyLeft, renderer, m_node->document().renderView()); |
case CSSPropertyLetterSpacing: |