| Index: third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
|
| index 48612f65b6bfb2ac0c6ff3a2e7b15a7409facd76..ba4d420c240d4e39ba3fd2d70c483442f37a6b26 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
|
| @@ -1114,7 +1114,9 @@ int LayoutTableSection::distributeExtraLogicalHeightToRows(
|
| static bool shouldFlexCellChild(LayoutObject* cellDescendant) {
|
| return cellDescendant->isAtomicInlineLevel() ||
|
| (cellDescendant->isBox() &&
|
| - toLayoutBox(cellDescendant)->scrollsOverflow());
|
| + toLayoutBox(cellDescendant)->style()->overflowY() !=
|
| + OverflowVisible &&
|
| + toLayoutBox(cellDescendant)->style()->overflowY() != OverflowHidden);
|
| }
|
|
|
| void LayoutTableSection::layoutRows() {
|
| @@ -1896,7 +1898,7 @@ void LayoutTableSection::relayoutCellIfFlexed(LayoutTableCell& cell,
|
| // can't hope to match the behavior perfectly, but we'll continue to refine it
|
| // as we discover new bugs. :)
|
| bool cellChildrenFlex = false;
|
| - bool flexAllChildren = cell.style()->logicalHeight().isFixed() ||
|
| + bool flexAllChildren = cell.style()->logicalHeight().isSpecified() ||
|
| (!table()->style()->logicalHeight().isAuto() &&
|
| rowHeight != cell.logicalHeight());
|
|
|
|
|