Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
| index 70e2509cb39ec661154035ac38b7e44ec691b6e9..9188b1f89c6d17c18afdc73830f2f91818ea16b2 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
| @@ -4180,6 +4180,7 @@ static bool logicalWidthIsResolvable(const LayoutBox& layoutBox) |
| const LayoutBox* box = &layoutBox; |
| while (!box->isLayoutView() && !box->isFloatingOrOutOfFlowPositioned() |
| && (box->style()->logicalWidth().isAuto() || box->isAnonymousBlock()) |
| + && !isStretchingColumnFlexItem(box) |
| && !box->hasOverrideContainingBlockLogicalWidth()) |
| box = box->containingBlock(); |
| @@ -4189,6 +4190,8 @@ static bool logicalWidthIsResolvable(const LayoutBox& layoutBox) |
| return true; |
| if (box->isOutOfFlowPositioned() && !box->style()->logicalLeft().isAuto() && !box->style()->logicalRight().isAuto()) |
| return true; |
| + if (isStretchingColumnFlexItem(box)) |
|
mstensho (USE GERRIT)
2016/05/03 12:08:52
logicalWidthIsResolvable(), isn't that about the s
|
| + return true; |
| if (box->hasOverrideContainingBlockLogicalWidth()) |
| return box->overrideContainingBlockContentLogicalWidth() != -1; |
| if (box->style()->logicalWidth().hasPercent()) |