Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index daed9db3b7b64cc01988d536e2e360a9d08c3a6b..6a1a2b1828d2a954df9f5ac7b24609ba69481b1d 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -144,6 +144,7 @@ static const CSSPropertyID staticComputableProperties[] = { |
CSSPropertyHeight, |
CSSPropertyImageRendering, |
CSSPropertyIsolation, |
+ CSSPropertyJustifySelf, |
CSSPropertyLeft, |
CSSPropertyLetterSpacing, |
CSSPropertyLineHeight, |
@@ -2104,6 +2105,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); |
case CSSPropertyLetterSpacing: |