Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.cpp

Issue 2466253004: Don't paint repeating header if only the border spacing exceeds page height (Closed)
Patch Set: bug 642814 Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutTable.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index 80edebfe16493241c93bf6845e3b00e2ecac53b5..aedd557ff8aeed4a55f7ef02958204707536775e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -734,8 +734,8 @@ void LayoutTable::layout() {
updateAfterLayout();
if (state.pageLogicalHeight()) {
- m_blockOffsetToFirstRepeatableHeader =
- state.pageLogicalOffset(*this, LayoutUnit());
+ m_blockOffsetToFirstRepeatableHeader = state.pageLogicalOffset(
+ *this, topSection ? topSection->logicalTop() : LayoutUnit());
}
}

Powered by Google App Engine
This is Rietveld 408576698