| 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 f8802d139c13fd2d530f187aec0b6f0dba3bc916..f4681d9d0e785dc840cb607ee76a055d8a595ab2 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
|
| @@ -1183,7 +1183,8 @@ void LayoutTableSection::layoutRows() {
|
| // fragmented differently, which could change its height and thus violate
|
| // the requested alignment. Give up instead of risking circular
|
| // dependencies and unstable layout.
|
| - if (crossesPageBoundary(rowLogicalTop, LayoutUnit(rHeight)))
|
| + if (state.isPaginated() &&
|
| + crossesPageBoundary(rowLogicalTop, LayoutUnit(rHeight)))
|
| cellVerticalAlign = VerticalAlignTop;
|
| else
|
| cellVerticalAlign = cell->style()->verticalAlign();
|
|
|