| Index: Source/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
|
| index 89f31400a1c047514cc60219657d6f2a1bcab1c2..f718059fe4ef9b8a071a631766c3226e179c431f 100644
|
| --- a/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -3708,18 +3708,18 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseGridTemplateAreas()
|
|
|
| // The following checks test that the grid area is a single filled-in rectangle.
|
| // 1. The new row is adjacent to the previously parsed row.
|
| - if (rowCount != gridCoordinate.rows.initialPositionIndex + 1)
|
| + if (rowCount != gridCoordinate.rows.resolvedInitialPosition + 1)
|
| return nullptr;
|
|
|
| // 2. The new area starts at the same position as the previously parsed area.
|
| - if (currentCol != gridCoordinate.columns.initialPositionIndex)
|
| + if (currentCol != gridCoordinate.columns.resolvedInitialPosition)
|
| return nullptr;
|
|
|
| // 3. The new area ends at the same position as the previously parsed area.
|
| - if (lookAheadCol != gridCoordinate.columns.finalPositionIndex)
|
| + if (lookAheadCol != gridCoordinate.columns.resolvedFinalPosition)
|
| return nullptr;
|
|
|
| - ++gridCoordinate.rows.finalPositionIndex;
|
| + ++gridCoordinate.rows.resolvedFinalPosition;
|
| }
|
| currentCol = lookAheadCol;
|
| }
|
|
|