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

Issue 2219153002: Offset repeating theads correctly when two tables adjoin at a page border (Closed)

Created:
4 years, 4 months ago by rhogan
Modified:
4 years, 4 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Offset repeating theads correctly when two tables adjoin at a page border When a header group is near a page border and doesn't fit on the page it may get a pagination strut to move it to the top of the next page. We need to subtract out that strut when storing the header's height for use later (when we paint the header across pages and have to move content rows below it). Also, when figuring out where the header starts on a series of pages we need to account for any strut it has so that we identify the place where the header group starts rather than just the table. BUG=634404 Committed: https://crrev.com/581269dfb3c302163b973edcbbbf508291fe6671 Cr-Commit-Position: refs/heads/master@{#411747}

Patch Set 1 #

Total comments: 4

Patch Set 2 : bug 634404 #

Total comments: 6

Patch Set 3 : bug 634404 #

Total comments: 2

Patch Set 4 : bug 634404 #

Messages

Total messages: 30 (21 generated)
rhogan
https://codereview.chromium.org/2219153002/diff/1/third_party/WebKit/Source/core/layout/LayoutTable.cpp File third_party/WebKit/Source/core/layout/LayoutTable.cpp (right): https://codereview.chromium.org/2219153002/diff/1/third_party/WebKit/Source/core/layout/LayoutTable.cpp#newcode551 third_party/WebKit/Source/core/layout/LayoutTable.cpp:551: offsetForTableHeaders += section->logicalHeight() - section->paginationStrutForRow(section->firstRow(), section->logicalTop()); We're only interested ...
4 years, 4 months ago (2016-08-09 20:34:39 UTC) #6
mstensho (USE GERRIT)
https://codereview.chromium.org/2219153002/diff/1/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp File third_party/WebKit/Source/core/paint/TableSectionPainter.cpp (right): https://codereview.chromium.org/2219153002/diff/1/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp#newcode45 third_party/WebKit/Source/core/paint/TableSectionPainter.cpp:45: LayoutUnit pageHeight = table->pageLogicalHeightForOffset(LayoutUnit()); (not for this CL) Page ...
4 years, 4 months ago (2016-08-10 09:42:48 UTC) #13
rhogan
https://codereview.chromium.org/2219153002/diff/10001/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp File third_party/WebKit/Source/core/paint/TableSectionPainter.cpp (right): https://codereview.chromium.org/2219153002/diff/10001/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp#newcode49 third_party/WebKit/Source/core/paint/TableSectionPainter.cpp:49: LayoutUnit headerGroupOffset = table->pageLogicalOffset() + m_layoutTableSection.paginationStrutForRow(m_layoutTableSection.firstRow(), table->pageLogicalOffset()); On 2016/08/10 ...
4 years, 4 months ago (2016-08-10 18:05:14 UTC) #14
rhogan
On 2016/08/10 at 18:05:14, rhogan wrote: > https://codereview.chromium.org/2219153002/diff/10001/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp > File third_party/WebKit/Source/core/paint/TableSectionPainter.cpp (right): > > https://codereview.chromium.org/2219153002/diff/10001/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp#newcode49 ...
4 years, 4 months ago (2016-08-11 17:46:04 UTC) #17
mstensho (USE GERRIT)
https://codereview.chromium.org/2219153002/diff/30001/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp File third_party/WebKit/Source/core/layout/LayoutTableSection.cpp (right): https://codereview.chromium.org/2219153002/diff/30001/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp#newcode1138 third_party/WebKit/Source/core/layout/LayoutTableSection.cpp:1138: if (!row) Why would you ever want to pass ...
4 years, 4 months ago (2016-08-12 08:36:59 UTC) #20
rhogan
https://codereview.chromium.org/2219153002/diff/30001/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp File third_party/WebKit/Source/core/layout/LayoutTableSection.cpp (right): https://codereview.chromium.org/2219153002/diff/30001/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp#newcode1138 third_party/WebKit/Source/core/layout/LayoutTableSection.cpp:1138: if (!row) On 2016/08/12 at 08:36:59, mstensho wrote: > ...
4 years, 4 months ago (2016-08-12 18:39:48 UTC) #22
mstensho (USE GERRIT)
lgtm
4 years, 4 months ago (2016-08-12 19:10:22 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2219153002/50001
4 years, 4 months ago (2016-08-12 19:57:24 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 20:03:02 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/581269dfb3c302163b973edcbbbf508291fe6671
Cr-Commit-Position: refs/heads/master@{#411747}

Powered by Google App Engine
This is Rietveld 408576698