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

Issue 2783953002: Fix spanning cell painting background from wrong row (Closed)

Created:
3 years, 8 months ago by Xianzhu
Modified:
3 years, 8 months ago
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, dshwang, jchaffraix+rendering, blink-reviews-paint_chromium.org, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix spanning cell painting background from wrong row Previously when we painted a table section not from the first row and the starting row contained spanned cells, we may paint the cell with the wrong row background. Now expands the dirty rows/columns to the top/left to cover the grid slots from which the spanning primary cells' originate. In this way, we also simply painting code to just consider the primary cells originating from the grid slots. This is also a preparation of crbug.com/663208 to paint background of each table section/row in one display item. BUG=706255 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2783953002 Cr-Commit-Position: refs/heads/master@{#460822} Committed: https://chromium.googlesource.com/chromium/src/+/29bb853d07d410286f932802134ff3732777f713

Patch Set 1 #

Patch Set 2 : - #

Total comments: 9

Patch Set 3 : - #

Patch Set 4 : Remove non-const version and use faster implementation #

Messages

Total messages: 22 (16 generated)
Xianzhu
3 years, 8 months ago (2017-03-29 17:43:29 UTC) #5
wkorman
lgtm https://codereview.chromium.org/2783953002/diff/20001/third_party/WebKit/Source/core/layout/LayoutTableSection.h File third_party/WebKit/Source/core/layout/LayoutTableSection.h (right): https://codereview.chromium.org/2783953002/diff/20001/third_party/WebKit/Source/core/layout/LayoutTableSection.h#newcode236 third_party/WebKit/Source/core/layout/LayoutTableSection.h:236: LayoutTableCell* originatingCellAt(unsigned row, unsigned effectiveColumn) { Do these ...
3 years, 8 months ago (2017-03-29 18:12:33 UTC) #6
Xianzhu
https://codereview.chromium.org/2783953002/diff/20001/third_party/WebKit/Source/core/layout/LayoutTableSection.h File third_party/WebKit/Source/core/layout/LayoutTableSection.h (right): https://codereview.chromium.org/2783953002/diff/20001/third_party/WebKit/Source/core/layout/LayoutTableSection.h#newcode236 third_party/WebKit/Source/core/layout/LayoutTableSection.h:236: LayoutTableCell* originatingCellAt(unsigned row, unsigned effectiveColumn) { On 2017/03/29 18:12:33, ...
3 years, 8 months ago (2017-03-29 18:44:41 UTC) #9
Xianzhu
https://codereview.chromium.org/2783953002/diff/20001/third_party/WebKit/Source/core/layout/LayoutTableSection.h File third_party/WebKit/Source/core/layout/LayoutTableSection.h (right): https://codereview.chromium.org/2783953002/diff/20001/third_party/WebKit/Source/core/layout/LayoutTableSection.h#newcode245 third_party/WebKit/Source/core/layout/LayoutTableSection.h:245: return const_cast<LayoutTableSection*>(this)->originatingCellAt( On 2017/03/29 18:44:41, Xianzhu wrote: > On ...
3 years, 8 months ago (2017-03-29 18:49:12 UTC) #11
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/2783953002/60001
3 years, 8 months ago (2017-03-30 18:02:27 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 18:09:47 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/29bb853d07d410286f932802134f...

Powered by Google App Engine
This is Rietveld 408576698