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

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

Issue 2848883002: Don't truncate the border-spacing before the table-header-group when fragmenting. (Closed)
Patch Set: Created 3 years, 8 months 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fragmentation/thead-near-start-of-first-fragmentainer.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2899bc53beb04101f6b4d49581903d96d20d9a76..0fc9d49cafc14ad97fe78b7df4f5035139b2b455 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
@@ -2067,7 +2067,7 @@ void LayoutTableSection::AdjustRowForPagination(LayoutTableRow& row_object,
if (!pagination_strut) {
LayoutUnit page_logical_height =
PageLogicalHeightForOffset(row_object.LogicalTop());
- if (page_logical_height && Table()->Header() &&
+ if (page_logical_height && Table()->Header() && Table()->Header() != this &&
Table()->RowOffsetFromRepeatingHeader()) {
offset_from_top_of_page =
page_logical_height -
« no previous file with comments | « third_party/WebKit/LayoutTests/fragmentation/thead-near-start-of-first-fragmentainer.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698