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

Issue 1676933004: Table cell background painting (Closed)

Created:
4 years, 10 months ago by atotic1
Modified:
4 years, 9 months ago
Reviewers:
Xianzhu
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, slimming-paint-reviews_chromium.org, dshwang, jchaffraix+rendering, blink-reviews-paint_chromium.org, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

col/colgroup clippedOverflowRectForPaintInvalidation fix this routine was returning an incorrectly positioned rect. The fix positions it correctly fast/repaint/table-col-background.html test has been modified to demonstrate the bug fast/repaint/table-col-background-offset.html tests has been added to test offset columns BUG=125336 Committed: https://crrev.com/e0d6d28effb0c20aebff303355e5d81321878ddb Cr-Commit-Position: refs/heads/master@{#381290}

Patch Set 1 : colgroup paint bug125336 fix #

Total comments: 22

Patch Set 2 : fix for LayoutTableCol::clippedOverflowRectForPaintInvalidation #

Total comments: 41

Patch Set 3 : LayoutTableCol::clippedOverflowRectForPaintInvalidation fix #

Total comments: 5

Patch Set 4 : use visualOverflowRect, add test #

Total comments: 4

Patch Set 5 : tests: add 2nd col, rebaseline old. fix setLocation() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -12 lines) Patch
M third_party/WebKit/LayoutTests/fast/repaint/table-col-background.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/table-col-background-expected.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/fast/repaint/table-col-background-offset.html View 1 2 3 2 chunks +8 lines, -3 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/repaint/table-col-background-offset-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableCol.cpp View 1 2 3 4 1 chunk +13 lines, -7 lines 0 comments Download

Messages

Total messages: 38 (15 generated)
atotic1
Hi, the background painting patch is done, happy to talk you through it.
4 years, 10 months ago (2016-02-10 00:42:02 UTC) #9
Xianzhu
Thanks for working on this. Please separate the following into other CLs to ease code ...
4 years, 10 months ago (2016-02-23 22:58:27 UTC) #10
atotic1
@Xianzhu I've broken this into smaller patches. Here is the first one, it fixes the ...
4 years, 9 months ago (2016-03-09 00:59:47 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1676933004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1676933004/100001
4 years, 9 months ago (2016-03-09 18:40:31 UTC) #13
Xianzhu
Thanks for creating the patch. Please also update the CL description. https://codereview.chromium.org/1676933004/diff/100001/third_party/WebKit/Source/core/layout/LayoutTable.cpp File third_party/WebKit/Source/core/layout/LayoutTable.cpp (right): ...
4 years, 9 months ago (2016-03-09 18:40:57 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/193868)
4 years, 9 months ago (2016-03-09 19:52:28 UTC) #16
Xianzhu
https://codereview.chromium.org/1676933004/diff/100001/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp File third_party/WebKit/Source/core/layout/LayoutTableCol.cpp (right): https://codereview.chromium.org/1676933004/diff/100001/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp#newcode247 third_party/WebKit/Source/core/layout/LayoutTableCol.cpp:247: return position; What if the column contains some cell ...
4 years, 9 months ago (2016-03-09 20:15:57 UTC) #17
Xianzhu
https://codereview.chromium.org/1676933004/diff/100001/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp File third_party/WebKit/Source/core/layout/LayoutTableCol.cpp (right): https://codereview.chromium.org/1676933004/diff/100001/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp#newcode247 third_party/WebKit/Source/core/layout/LayoutTableCol.cpp:247: return position; On 2016/03/09 20:15:57, Xianzhu wrote: > What ...
4 years, 9 months ago (2016-03-09 20:24:34 UTC) #18
atotic1
I've addressed all of the issues you've raised. I have one question remaining before my ...
4 years, 9 months ago (2016-03-14 18:22:54 UTC) #20
Xianzhu
On 2016/03/14 18:22:54, atotic1 wrote: > I've addressed all of the issues you've raised. I ...
4 years, 9 months ago (2016-03-14 18:35:05 UTC) #21
atotic1
The latest patch contains a minimal fix for LayoutTableCol::clippedOverflowRectForPaintInvalidation I've also modified one of the ...
4 years, 9 months ago (2016-03-14 19:33:45 UTC) #23
Xianzhu
On 2016/03/14 19:33:45, atotic1 wrote: > The latest patch contains a minimal fix for > ...
4 years, 9 months ago (2016-03-14 20:40:03 UTC) #24
Xianzhu
https://codereview.chromium.org/1676933004/diff/120001/third_party/WebKit/LayoutTests/fast/repaint/table-col-background.html File third_party/WebKit/LayoutTests/fast/repaint/table-col-background.html (right): https://codereview.chromium.org/1676933004/diff/120001/third_party/WebKit/LayoutTests/fast/repaint/table-col-background.html#newcode13 third_party/WebKit/LayoutTests/fast/repaint/table-col-background.html:13: <div style="height:100px"></div> Normally we don't change existing tests, but ...
4 years, 9 months ago (2016-03-14 20:40:18 UTC) #25
atotic1
> You might need to still call > table->clippedOverflowRectForPaintInvalidation() and adjust the wrong offset. This ...
4 years, 9 months ago (2016-03-14 23:03:11 UTC) #26
Xianzhu
On 2016/03/14 23:03:11, atotic1 wrote: (Please reply inline in the review diff page, and then ...
4 years, 9 months ago (2016-03-14 23:06:48 UTC) #27
Xianzhu
BTW, can you add another test testing paint invalidation of the second col (which has ...
4 years, 9 months ago (2016-03-14 23:09:17 UTC) #28
atotic1
Apologies for this lengthy reply. It is my first time using Rietveld, and I was ...
4 years, 9 months ago (2016-03-15 16:50:49 UTC) #30
Xianzhu
https://codereview.chromium.org/1676933004/diff/120001/third_party/WebKit/LayoutTests/fast/repaint/table-col-background.html File third_party/WebKit/LayoutTests/fast/repaint/table-col-background.html (right): https://codereview.chromium.org/1676933004/diff/120001/third_party/WebKit/LayoutTests/fast/repaint/table-col-background.html#newcode13 third_party/WebKit/LayoutTests/fast/repaint/table-col-background.html:13: <div style="height:100px"></div> On 2016/03/15 16:50:48, atotic1 wrote: > On ...
4 years, 9 months ago (2016-03-15 17:24:40 UTC) #31
atotic1
Code review changes done. Rebaselined table-col-background.html test Added table-col-background-offset.html test Started the trybot https://codereview.chromium.org/1676933004/diff/140001/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp File ...
4 years, 9 months ago (2016-03-15 18:50:51 UTC) #32
Xianzhu
lgtm lgtm!
4 years, 9 months ago (2016-03-15 18:52:24 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1676933004/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1676933004/150001
4 years, 9 months ago (2016-03-15 18:52:50 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:150001)
4 years, 9 months ago (2016-03-15 19:48:50 UTC) #36
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 19:50:20 UTC) #38
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e0d6d28effb0c20aebff303355e5d81321878ddb
Cr-Commit-Position: refs/heads/master@{#381290}

Powered by Google App Engine
This is Rietveld 408576698