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

Unified Diff: third_party/WebKit/Source/core/paint/TableSectionPainter.cpp

Issue 2422953003: Repeating header groups should align properly when captions are present (Closed)
Patch Set: Repeating header groups should align properly when captions are present BUG=652792 CQ_INCLUDE_TRYBO… Created 4 years, 2 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/single-line-cells-repeating-thead-with-two-captions-expected.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/paint/TableSectionPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
index 234a2acccb25d6770620acca4ad06afb9ae118e1..f42d8284aba269a2c1f4263cf317a3f01c57a5de 100644
--- a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
@@ -71,6 +71,7 @@ void TableSectionPainter::paintRepeatingHeaderGroup(
LayoutUnit bottomBound =
std::min(LayoutUnit(paintInfo.cullRect().m_rect.maxY()),
paintOffset.y() + table->logicalHeight());
+ paginationOffset.move(LayoutUnit(), -m_layoutTableSection.logicalTop());
while (paginationOffset.y() < bottomBound) {
LayoutPoint nestedOffset =
paginationOffset +
« no previous file with comments | « third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-with-two-captions-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698