| Index: third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
| index cb67a3fd2019d130d4542ddb666246976d1837be..992d2e5a62bce82d7e245b4ba39b2a019e4208cb 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
| @@ -1983,7 +1983,7 @@ void LayoutGrid::offsetAndBreadthForPositionedChild(const LayoutBox& child, Grid
|
| }
|
| }
|
|
|
| - breadth = end - start;
|
| + breadth = std::max(end - start, LayoutUnit());
|
| offset = start;
|
|
|
| if (isForColumns && !styleRef().isLeftToRightDirection() && !child.styleRef().hasStaticInlinePosition(child.isHorizontalWritingMode())) {
|
|
|