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

Issue 2433403002: Pay attention to tall rowspanned cells in the first layout pass. (Closed)

Created:
4 years, 2 months ago by mstensho (USE GERRIT)
Modified:
4 years, 2 months ago
Reviewers:
dgrogan, eae
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pay attention to tall rowspanned cells in the first layout pass. If a rowspanned cell gets fragmented, and this cell needs to stretch the table rows in order to fit, only stretch the last row (i.e. the one we're currently laying out). That's the only thing we can do if we don't want mess up fragmentation (pagination struts) of earlier content. Furthermore, to leave those rows completely alone, don't let a subsequent rowspanned cell that shares at least one row with the previous rowspanned cell stretch those rows, either, as that would lead to unfair height distribution anyway (since the last row has already got all the extra space). table-overlapping-rowspan.html tests this. BUG=534751 Committed: https://crrev.com/8913722091969012d43990dacf8a7c0e403425d8 Cr-Commit-Position: refs/heads/master@{#426590}

Patch Set 1 #

Total comments: 2

Patch Set 2 : code review #

Patch Set 3 : rebase master #

Messages

Total messages: 14 (8 generated)
mstensho (USE GERRIT)
4 years, 2 months ago (2016-10-20 13:22:58 UTC) #6
eae
LGTM w/nit https://codereview.chromium.org/2433403002/diff/1/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp File third_party/WebKit/Source/core/layout/LayoutTableSection.cpp (right): https://codereview.chromium.org/2433403002/diff/1/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp#newcode2021 third_party/WebKit/Source/core/layout/LayoutTableSection.cpp:2021: rowLogicalTop - firstRowForCell->logicalTop().toInt(); Above you round the ...
4 years, 2 months ago (2016-10-20 16:53:58 UTC) #7
mstensho (USE GERRIT)
https://codereview.chromium.org/2433403002/diff/1/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp File third_party/WebKit/Source/core/layout/LayoutTableSection.cpp (right): https://codereview.chromium.org/2433403002/diff/1/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp#newcode2021 third_party/WebKit/Source/core/layout/LayoutTableSection.cpp:2021: rowLogicalTop - firstRowForCell->logicalTop().toInt(); On 2016/10/20 16:53:58, eae wrote: > ...
4 years, 2 months ago (2016-10-20 19:05:56 UTC) #8
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/2433403002/40001
4 years, 2 months ago (2016-10-20 19:33:04 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-20 20:56:05 UTC) #12
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:22:19 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8913722091969012d43990dacf8a7c0e403425d8
Cr-Commit-Position: refs/heads/master@{#426590}

Powered by Google App Engine
This is Rietveld 408576698