Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
| diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
| index c0377df923235f63f5ab729e2474e687f4d5e76d..401dc77b6fca62b2b1fd5db11eb9ba4438f42d76 100644 |
| --- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
| +++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
| @@ -842,7 +842,7 @@ static CSSValue* valueForGridTrackList(GridTrackSizingDirection direction, const |
| ASSERT(trackPositions.size() - 1 >= trackSizes.size()); |
| size_t i; |
| - LayoutUnit gutterSize = grid->guttersSize(direction, 2); |
| + LayoutUnit gutterSize = grid->guttersSize(direction, 2, isRowAxis ? grid->logicalWidth() : grid->logicalHeight()); |
|
cbiesinger
2016/06/22 18:46:13
The spec says they refer to the content area, so s
jfernandez
2016/06/27 23:56:47
Done.
|
| LayoutUnit offsetBetweenTracks = grid->offsetBetweenTracks(direction); |
| for (i = 0; i < trackPositions.size() - 2; ++i) { |
| addValuesForNamedGridLinesAtIndex(collector, i, *list); |