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

Issue 2326303002: Don't repeat headers if at least one row of content doesn't fit (Closed)

Created:
4 years, 3 months ago by rhogan
Modified:
4 years, 3 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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't repeat headers if at least one row of content doesn't fit The spec (https://drafts.csswg.org/css-tables-3/#repeated-headers) tells us that we shouldn't bother repeating headers if a row of content doesn't fit. It's not clear what to do in the situation where it's just the first page that the row doesn't fit. I think we ultimately want to do the same as Edge/IE and still repeat the headers on subsequent pages. That would require a second layout pass to achieve so for now just drop the repeating headers if we can't fit a row on the first page. BUG=624814 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/8bf47bb4e1d0ea9599bc443906fc26c3ce86f152 Cr-Commit-Position: refs/heads/master@{#418838}

Patch Set 1 #

Total comments: 2

Patch Set 2 : bug 624814 #

Total comments: 2

Messages

Total messages: 26 (13 generated)
rhogan
4 years, 3 months ago (2016-09-12 19:03:11 UTC) #7
rhogan
https://codereview.chromium.org/2326303002/diff/1/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp File third_party/WebKit/Source/core/layout/LayoutTableSection.cpp (left): https://codereview.chromium.org/2326303002/diff/1/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp#oldcode1736 third_party/WebKit/Source/core/layout/LayoutTableSection.cpp:1736: if (sectionBelow && sectionBelow->firstRow() && sectionBelow->paginationStrutForRow(sectionBelow->firstRow(), sectionBelow->logicalTop())) We don't ...
4 years, 3 months ago (2016-09-12 19:07:35 UTC) #9
mstensho (USE GERRIT)
https://codereview.chromium.org/2326303002/diff/1/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp File third_party/WebKit/Source/core/layout/LayoutTableSection.cpp (left): https://codereview.chromium.org/2326303002/diff/1/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp#oldcode1736 third_party/WebKit/Source/core/layout/LayoutTableSection.cpp:1736: if (sectionBelow && sectionBelow->firstRow() && sectionBelow->paginationStrutForRow(sectionBelow->firstRow(), sectionBelow->logicalTop())) On 2016/09/12 ...
4 years, 3 months ago (2016-09-13 06:51:36 UTC) #10
rhogan
On 2016/09/13 at 06:51:36, mstensho wrote: > https://codereview.chromium.org/2326303002/diff/1/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp > File third_party/WebKit/Source/core/layout/LayoutTableSection.cpp (left): > > https://codereview.chromium.org/2326303002/diff/1/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp#oldcode1736 ...
4 years, 3 months ago (2016-09-13 14:03:13 UTC) #11
mstensho (USE GERRIT)
On 2016/09/13 14:03:13, rhogan wrote: > On 2016/09/13 at 06:51:36, mstensho wrote: > > > ...
4 years, 3 months ago (2016-09-13 17:00:17 UTC) #12
rhogan
On 2016/09/13 at 17:00:17, mstensho wrote: > On 2016/09/13 14:03:13, rhogan wrote: > > On ...
4 years, 3 months ago (2016-09-13 18:06:39 UTC) #13
mstensho (USE GERRIT)
On 2016/09/13 18:06:39, rhogan wrote: > On 2016/09/13 at 17:00:17, mstensho wrote: > > On ...
4 years, 3 months ago (2016-09-13 18:27:26 UTC) #14
rhogan
Done. On Tue, 13 Sep 2016 19:27 , <mstensho@opera.com> wrote: > On 2016/09/13 18:06:39, rhogan ...
4 years, 3 months ago (2016-09-14 15:02:55 UTC) #19
rhogan
Done. On Tue, 13 Sep 2016 19:27 , <mstensho@opera.com> wrote: > On 2016/09/13 18:06:39, rhogan ...
4 years, 3 months ago (2016-09-14 15:02:56 UTC) #20
mstensho (USE GERRIT)
lgtm, but please answer my question in the comments. https://codereview.chromium.org/2326303002/diff/20001/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid.html File third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid.html (right): https://codereview.chromium.org/2326303002/diff/20001/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid.html#newcode14 third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid.html:14: ...
4 years, 3 months ago (2016-09-15 06:31:55 UTC) #21
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/2326303002/20001
4 years, 3 months ago (2016-09-15 10:26:22 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-15 11:50:16 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 11:53:22 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8bf47bb4e1d0ea9599bc443906fc26c3ce86f152
Cr-Commit-Position: refs/heads/master@{#418838}

Powered by Google App Engine
This is Rietveld 408576698