Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index df1ea64c8c3c2e5ea0c398bd451032009c311a32..a64631ed2217f5390635c684512b5434b0eb21c6 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -1072,6 +1072,9 @@ static PassRefPtr<CSSValue> valueForGridPosition(const GridPosition& position) |
if (position.isAuto()) |
return cssValuePool().createIdentifierValue(CSSValueAuto); |
+ if (position.isNamedGridArea()) |
+ return cssValuePool().createValue(position.namedGridLine(), CSSPrimitiveValue::CSS_STRING); |
+ |
RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); |
if (position.isSpan()) { |
list->append(cssValuePool().createIdentifierValue(CSSValueSpan)); |