| 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 2efec3e030e4ee9387d2a245fd729e6034037389..484177209e2c39eed29e5ec599b729635898cc31 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
|
| @@ -2012,14 +2012,9 @@ void LayoutTableSection::adjustRowForPagination(LayoutTableRow& rowObject,
|
| // fragmentainer, above this row. Otherwise, this row will just go at the top
|
| // of the next fragmentainer.
|
|
|
| - // If there isn't room for at least one content row on a page with a
|
| - // header group, then we won't repeat the header on each page.
|
| LayoutTableSection* header = table()->header();
|
| - if (!rowObject.rowIndex() && header &&
|
| - table()->sectionAbove(this) == header &&
|
| - header->getPaginationBreakability() != AllowAnyBreaks) {
|
| + if (rowObject.isFirstRowInSectionAfterHeader())
|
| table()->setRowOffsetFromRepeatingHeader(LayoutUnit());
|
| - }
|
| // Border spacing from the previous row has pushed this row just past the top
|
| // of the page, so we must reposition it to the top of the page and avoid any
|
| // repeating header.
|
|
|