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

Issue 1646743002: Let table rows and sections paint their backgrounds in proper paint phases (Closed)

Created:
4 years, 11 months ago by Xianzhu
Modified:
4 years, 10 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@FloatPhase
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Let table rows and sections paint their backgrounds in proper paint phases Previously they ignored PaintPhaseSelfBlockBackgroundOnly and painted their own backgrounds in PaintPhaseDescendantBlockBackgroundsOnly behind cell. Now paint their own backgrounds in PaintPhaseBlockBackground or PaintPhaseSelfBlockBackgroundOnly phase to be consistent with other painters. BUG=574938 TEST=PaintLayerPainterTest.PaintPhaseBlockBackground Committed: https://crrev.com/65b7f83a0ccfd3a1329f35198a9f5a1c8efb501b Cr-Commit-Position: refs/heads/master@{#372171}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -32 lines) Patch
M third_party/WebKit/Source/core/paint/BoxClipper.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/TableRowPainter.cpp View 1 chunk +5 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/paint/TableSectionPainter.h View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/TableSectionPainter.cpp View 5 chunks +19 lines, -18 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (5 generated)
Xianzhu
4 years, 11 months ago (2016-01-28 00:13:44 UTC) #2
chrishtr
https://codereview.chromium.org/1646743002/diff/1/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp File third_party/WebKit/Source/core/paint/TableSectionPainter.cpp (left): https://codereview.chromium.org/1646743002/diff/1/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp#oldcode31 third_party/WebKit/Source/core/paint/TableSectionPainter.cpp:31: if (paintInfo.phase == PaintPhaseSelfBlockBackgroundOnly) How did this work? I ...
4 years, 10 months ago (2016-01-28 18:14:33 UTC) #4
Xianzhu
https://codereview.chromium.org/1646743002/diff/1/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp File third_party/WebKit/Source/core/paint/TableSectionPainter.cpp (left): https://codereview.chromium.org/1646743002/diff/1/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp#oldcode31 third_party/WebKit/Source/core/paint/TableSectionPainter.cpp:31: if (paintInfo.phase == PaintPhaseSelfBlockBackgroundOnly) On 2016/01/28 18:14:33, chrishtr wrote: ...
4 years, 10 months ago (2016-01-28 18:34:36 UTC) #5
Xianzhu
On 2016/01/28 18:34:36, Xianzhu wrote: > https://codereview.chromium.org/1646743002/diff/1/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp > File third_party/WebKit/Source/core/paint/TableSectionPainter.cpp (left): > > https://codereview.chromium.org/1646743002/diff/1/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp#oldcode31 > ...
4 years, 10 months ago (2016-01-28 18:51:09 UTC) #6
chrishtr
Let me put it another way: why was the code written the other way? Was ...
4 years, 10 months ago (2016-01-28 18:53:26 UTC) #7
Xianzhu
On 2016/01/28 18:53:26, chrishtr wrote: > Let me put it another way: why was the ...
4 years, 10 months ago (2016-01-28 19:05:06 UTC) #8
chrishtr
lgtm
4 years, 10 months ago (2016-01-28 19:50:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646743002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646743002/20001
4 years, 10 months ago (2016-01-28 19:53:26 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-01-28 21:30:44 UTC) #13
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 21:31:43 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/65b7f83a0ccfd3a1329f35198a9f5a1c8efb501b
Cr-Commit-Position: refs/heads/master@{#372171}

Powered by Google App Engine
This is Rietveld 408576698