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

Issue 673533002: Table rows are not totally invalidated after r170349 (Closed)

Created:
6 years, 2 months ago by Julien - ping for review
Modified:
6 years, 2 months ago
Reviewers:
dsinclair, xianxianzhu
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Table rows are not totally invalidated after r170349 The change removed RenderTableRow::clippedOverflowRectForPaintInvalidation but the row's visual overflow doesn't include any cells spanning several rows, which is required to be able to invalidate rows correctly. The fix is to include the spanning cells into the row's visual overflow. Because they both share the section's coordinate system, we need to translate the cell's coordinate into the row's to avoid some wrong visual overflow (aka over-invalidations). BUG=417060 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184296

Patch Set 1 #

Patch Set 2 : Fix unit tests #

Patch Set 3 : Improved logic (the original ASSERT was bad). #

Total comments: 6

Patch Set 4 : Fixed Dan's comments #

Patch Set 5 : Update first comment after Dan's review (forgot to do it) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -2 lines) Patch
A LayoutTests/fast/repaint/hover-invalidation-table.html View 1 chunk +49 lines, -0 lines 0 comments Download
A + LayoutTests/fast/repaint/hover-invalidation-table-expected.txt View 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTableRow.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderTableRow.cpp View 1 2 3 4 2 chunks +20 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderTableSection.cpp View 1 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 8 (2 generated)
Julien - ping for review
Took me 3 tries but here is a good fix for the regression.
6 years, 2 months ago (2014-10-23 01:02:18 UTC) #2
dsinclair
https://codereview.chromium.org/673533002/diff/40001/Source/core/rendering/RenderTableRow.cpp File Source/core/rendering/RenderTableRow.cpp (right): https://codereview.chromium.org/673533002/diff/40001/Source/core/rendering/RenderTableRow.cpp#newcode184 Source/core/rendering/RenderTableRow.cpp:184: // We do not call addOverflowFromCell as part of ...
6 years, 2 months ago (2014-10-23 14:22:01 UTC) #3
Julien - ping for review
https://codereview.chromium.org/673533002/diff/40001/Source/core/rendering/RenderTableRow.cpp File Source/core/rendering/RenderTableRow.cpp (right): https://codereview.chromium.org/673533002/diff/40001/Source/core/rendering/RenderTableRow.cpp#newcode184 Source/core/rendering/RenderTableRow.cpp:184: // We do not call addOverflowFromCell as part of ...
6 years, 2 months ago (2014-10-23 18:40:09 UTC) #4
dsinclair
lgtm
6 years, 2 months ago (2014-10-23 18:51:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/673533002/80001
6 years, 2 months ago (2014-10-23 18:52:20 UTC) #7
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 19:51:29 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as 184296

Powered by Google App Engine
This is Rietveld 408576698