| Index: Source/core/css/CSSComputedStyleDeclaration.cpp
|
| diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| index 32e1fa32e74331c3ee25009be5782afb06a8a1ff..eb84f8dc6cbba8187fcad41419b0399bb52d5c1e 100644
|
| --- a/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| +++ b/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| @@ -32,6 +32,7 @@
|
| #include "core/css/CSSBorderImage.h"
|
| #include "core/css/CSSFilterValue.h"
|
| #include "core/css/CSSFunctionValue.h"
|
| +#include "core/css/CSSGridTemplateValue.h"
|
| #include "core/css/CSSLineBoxContainValue.h"
|
| #include "core/css/CSSMixFunctionValue.h"
|
| #include "core/css/CSSParser.h"
|
| @@ -1964,6 +1965,14 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert
|
| case CSSPropertyGridArea:
|
| return getCSSPropertyValuesForGridShorthand(gridAreaShorthand());
|
|
|
| + case CSSPropertyGridTemplate:
|
| + if (!style->namedGridAreaRowCount()) {
|
| + ASSERT(!style->namedGridAreaColumnCount());
|
| + return cssValuePool().createIdentifierValue(CSSValueNone);
|
| + }
|
| +
|
| + return CSSGridTemplateValue::create(style->namedGridArea(), style->namedGridAreaRowCount(), style->namedGridAreaColumnCount());
|
| +
|
| case CSSPropertyHeight:
|
| if (renderer) {
|
| // According to http://www.w3.org/TR/CSS2/visudet.html#the-height-property,
|
|
|