New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 663208 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocking:
issue 312121



Sign in to add a comment

Investigate combining display items of table collapsed borders and cell backgrounds from containers

Project Member Reported by wangxianzhu@chromium.org, Nov 8 2016

Issue description

https://codereview.chromium.org/2430313004/ paints all collapsed borders of a table in one display item to avoid the visual rect issue of cell collapsed borders.

About its performance:

On 2016/11/07 23:35:50, Xianzhu wrote:
> On 2016/11/07 23:25:24, wkorman wrote:
> > On 2016/11/03 15:46:09, Xianzhu wrote:
> > > Added in descriptions. I ran blink_perf.paint perf suite which runs tests
> > under
> > > third_party/WebKit/PerformanceTests/Paint which contains test cases
> specially
> > > for huge tables with collapsed borders which are representative for our
> case.
> > 
> > I looked at these tests briefly with chrishtr@ just now, and one question I
> had
> > was whether table row/cols of 300x320 is large enough to reveal performance
> > impact of this change. What do you think? I had assumed "huge" was likely 1K -
> > 10K+.
> 
> Will try.

Tried 1kx1k tables. This is near the upper limit that we can test, because the first frame already takes 10~25s. Larger numbers will cause non-responsive page notice.

Results:
Test    Without patch    With patch
large-table-background-change-with-invisible-collapsed-borders.html 0.29s 0.27s
large-table-background-change-with-visible-collapsed-borders.html 1.1s 0.3s
large-table-collapsed-border-change-with-backgrounds.html 2.3s 2.4s
large-table-collapsed-border-change-with-text.html 0.9s 1.2s
large-table-collapsed-border-change.html 1.5s 2.3s
large-table-repaint.html 2.3s 2.2s

Summary:
- Progression when there is no change to collapsed borders;
- Regression when border changed on a single cell.
- With the bigger table cells (large-table-collapsed-border-change-with-text.html), performance improves in the similar scale with and without patch

Attached traces of large-table-collapsed-border-change.html with and without patch.
Comparison:
- Times for first styling (2.4s vs 2.1s), first layout (4.3s vs 4.2s), first paint invalidation (3.5s vs 3.4s) are similar with and without patch.
- First paint (0.85s vs 1.9s), patch wins.
- Subsequent paints (0.75s vs 0.52s), master wins.
- Rasterization: master won. With patch, the frame time is bound with rasterization. All of the 4 tile workers are fully busy. On master, The tile workers are about 90% idle.

Rasterization regression is the biggest issue of such huge display items. Rasterization regression might be bigger if the table contains more complex contents that don't change.

Will look into this more.

 
trace_large-table-collapsed-borders-change-with-patch.json.gz
2.7 MB Download
trace_large-table-collapsed-borders-change-master.json.gz
2.5 MB Download
Project Member

Comment 1 by bugdroid1@chromium.org, Nov 11 2016

Project Member

Comment 2 by bugdroid1@chromium.org, Nov 11 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/36883fc1dd5c53c5dbcb57b9209d1be001df80ee

commit 36883fc1dd5c53c5dbcb57b9209d1be001df80ee
Author: wangxianzhu <wangxianzhu@chromium.org>
Date: Fri Nov 11 22:03:52 2016

Add default constructor and operator==/!= for CullRect

This is split from https://codereview.chromium.org/2430313004/

BUG= 663208 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Review-Url: https://codereview.chromium.org/2496983002
Cr-Commit-Position: refs/heads/master@{#431661}

[modify] https://crrev.com/36883fc1dd5c53c5dbcb57b9209d1be001df80ee/third_party/WebKit/Source/platform/graphics/paint/CullRect.h

Project Member

Comment 3 by bugdroid1@chromium.org, Nov 12 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c5cc11e88930c6e3f5e08b330fb14b6b571a0404

commit c5cc11e88930c6e3f5e08b330fb14b6b571a0404
Author: wangxianzhu <wangxianzhu@chromium.org>
Date: Sat Nov 12 02:14:06 2016

Paint collapsed borders of a table as one display item

This simplifies paint invalidation logic on collapsed border changes.

About performance:
With this CL we create a big display item on the table containing all
collapsed border paintings, instead of many small display items on cells.
This will cause more painting when the display item is invalidated, but
saves time to handle many cached display items. Perf try jobs [1] show
that this CL actually improves performance of one test
(blink_perf.paint.large-table-background-change-with-invisible-collapsed-borders.html),
and doesn't affect much of performance of other tests.
Cluster-telemetry run showed no change or slight progression [2].

[1] https://codereview.chromium.org/2430313004/#ps60001
[2] https://ct.skia.org/chromium_perf_runs/, run 1433

CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
BUG= 663208 

Review-Url: https://codereview.chromium.org/2430313004
Cr-Commit-Position: refs/heads/master@{#431744}

[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table-outer-border-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/border-collapse-change-separate-to-collapse-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-cell-append-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-color-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-width-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-color-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-width-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-color-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-width-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-row-border-width-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-color-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-width-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-tbody-border-width-expected.txt
[add] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color-expected.html
[add] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color-expected.txt
[add] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html
[add] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color-expected.html
[add] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color-expected.txt
[add] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color.html
[add] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color-expected.html
[add] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color-expected.txt
[add] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color.html
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/BUILD.gn
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/layout/LayoutTable.cpp
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/layout/LayoutTable.h
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/layout/LayoutTableCell.h
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/layout/LayoutTableSection.h
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/paint/TableCellPainter.h
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/paint/TablePainter.cpp
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/paint/TablePainter.h
[add] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/paint/TablePainterTest.cpp
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/core/paint/TableSectionPainter.h
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
[modify] https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h

Project Member

Comment 4 by bugdroid1@chromium.org, Nov 14 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b2a470747585456b0c545551d61a7b3f7baffda9

commit b2a470747585456b0c545551d61a7b3f7baffda9
Author: wangxianzhu <wangxianzhu@chromium.org>
Date: Mon Nov 14 19:27:35 2016

Revert of Paint collapsed borders of a table as one display item (patchset #10 id:180001 of https://codereview.chromium.org/2430313004/ )

Reason for revert:
Caused  bug 664887 . We miss invalidation of collapsed borders when they are changed by layout.

BUG= 664887 

Original issue's description:
> Paint collapsed borders of a table as one display item
>
> This simplifies paint invalidation logic on collapsed border changes.
>
> About performance:
> With this CL we create a big display item on the table containing all
> collapsed border paintings, instead of many small display items on cells.
> This will cause more painting when the display item is invalidated, but
> saves time to handle many cached display items. Perf try jobs [1] show
> that this CL actually improves performance of one test
> (blink_perf.paint.large-table-background-change-with-invisible-collapsed-borders.html),
> and doesn't affect much of performance of other tests.
> Cluster-telemetry run showed no change or slight progression [2].
>
> [1] https://codereview.chromium.org/2430313004/#ps60001
> [2] https://ct.skia.org/chromium_perf_runs/, run 1433
>
> CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
> BUG= 663208 
>
> Committed: https://crrev.com/c5cc11e88930c6e3f5e08b330fb14b6b571a0404
> Cr-Commit-Position: refs/heads/master@{#431744}

TBR=chrishtr@chromium.org,wkorman@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG= 663208 

Review-Url: https://codereview.chromium.org/2495343002
Cr-Commit-Position: refs/heads/master@{#431903}

[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table-outer-border-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table/border-collapse-change-separate-to-collapse-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-cell-append-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-color-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-width-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-color-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-width-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-color-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-width-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-row-border-width-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-color-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-width-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-tbody-border-width-expected.txt
[delete] https://crrev.com/f32a269ac0dbe6b08ddb73b1f77798db5dbf525a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color-expected.html
[delete] https://crrev.com/f32a269ac0dbe6b08ddb73b1f77798db5dbf525a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color-expected.txt
[delete] https://crrev.com/f32a269ac0dbe6b08ddb73b1f77798db5dbf525a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html
[delete] https://crrev.com/f32a269ac0dbe6b08ddb73b1f77798db5dbf525a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color-expected.html
[delete] https://crrev.com/f32a269ac0dbe6b08ddb73b1f77798db5dbf525a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color-expected.txt
[delete] https://crrev.com/f32a269ac0dbe6b08ddb73b1f77798db5dbf525a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color.html
[delete] https://crrev.com/f32a269ac0dbe6b08ddb73b1f77798db5dbf525a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color-expected.html
[delete] https://crrev.com/f32a269ac0dbe6b08ddb73b1f77798db5dbf525a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color-expected.txt
[delete] https://crrev.com/f32a269ac0dbe6b08ddb73b1f77798db5dbf525a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color.html
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/BUILD.gn
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/layout/LayoutTable.cpp
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/layout/LayoutTable.h
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/layout/LayoutTableCell.h
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/layout/LayoutTableSection.h
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/paint/TableCellPainter.h
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/paint/TablePainter.cpp
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/paint/TablePainter.h
[delete] https://crrev.com/f32a269ac0dbe6b08ddb73b1f77798db5dbf525a/third_party/WebKit/Source/core/paint/TablePainterTest.cpp
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/core/paint/TableSectionPainter.h
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
[modify] https://crrev.com/b2a470747585456b0c545551d61a7b3f7baffda9/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h

Blocking: 312121
Project Member

Comment 6 by bugdroid1@chromium.org, Dec 5 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/16363da3f8fba57bef3d203bbb8590bf4f60037e

commit 16363da3f8fba57bef3d203bbb8590bf4f60037e
Author: wangxianzhu <wangxianzhu@chromium.org>
Date: Mon Dec 05 22:26:58 2016

Paint collapsed borders of a table as one display item

This simplifies paint invalidation logic on collapsed border changes.

About performance:
With this CL we create a big display item on the table containing all
collapsed border paintings, instead of many small display items on cells.
This will cause more painting when the display item is invalidated, but
saves time to handle many cached display items. Perf try jobs [1] show
that this CL improves performance of one test
(blink_perf.paint.large-table-background-change-with-visible-collapsed-borders.html),
and degrade performance of one test
(blink_perf.paint.large-table-repaint.html)
and doesn't affect much of performance of other tests.
Cluster-telemetry run showed no change or slight progression (https://ct.skia.org/chromium_perf_runs/, run 1433)

This is a reland of https://codereview.chromium.org/2430313004, with
 crbug.com/664887  fixed by force invalidation of collapsed borders on
layout change.

CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
BUG= 663208 , 664887 
TBR=chrishtr@chromium.org (for platform/graphics/paint/DisplayItem.h with changed display item types about collapsed borders)

Review-Url: https://codereview.chromium.org/2430313004
Review-Url: https://codereview.chromium.org/2502353003
Cr-Original-Commit-Position: refs/heads/master@{#431744}
Cr-Commit-Position: refs/heads/master@{#436426}

[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table-outer-border-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table-section-repaint-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/border-collapse-change-separate-to-collapse-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-cell-append-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-color-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-width-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-color-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-width-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-color-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-width-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-row-border-width-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-color-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-width-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-tbody-border-width-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-resize-expected.txt
[add] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color-expected.html
[add] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color-expected.txt
[add] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html
[add] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color-expected.html
[add] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color-expected.txt
[add] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color.html
[add] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color-expected.html
[add] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color-expected.txt
[add] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color.html
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/BUILD.gn
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/layout/LayoutTable.cpp
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/layout/LayoutTable.h
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/layout/LayoutTableCell.h
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/layout/LayoutTableSection.h
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/paint/TableCellPainter.h
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/paint/TablePainter.cpp
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/paint/TablePainter.h
[add] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/paint/TablePainterTest.cpp
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/core/paint/TableSectionPainter.h
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
[modify] https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h

Project Member

Comment 7 by bugdroid1@chromium.org, Dec 6 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c

commit 6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c
Author: wangxianzhu <wangxianzhu@chromium.org>
Date: Tue Dec 06 02:19:53 2016

Revert of Paint collapsed borders of a table as one display item (patchset #4 id:60001 of https://codereview.chromium.org/2502353003/ )

Reason for revert:
Need to think more about performance and improve.

Original issue's description:
> Paint collapsed borders of a table as one display item
>
> This simplifies paint invalidation logic on collapsed border changes.
>
> About performance:
> With this CL we create a big display item on the table containing all
> collapsed border paintings, instead of many small display items on cells.
> This will cause more painting when the display item is invalidated, but
> saves time to handle many cached display items. Perf try jobs [1] show
> that this CL improves performance of one test
> (blink_perf.paint.large-table-background-change-with-visible-collapsed-borders.html),
> and degrade performance of one test
> (blink_perf.paint.large-table-repaint.html)
> and doesn't affect much of performance of other tests.
> Cluster-telemetry run showed no change or slight progression (https://ct.skia.org/chromium_perf_runs/, run 1433)
>
> This is a reland of https://codereview.chromium.org/2430313004, with
>  crbug.com/664887  fixed by force invalidation of collapsed borders on
> layout change.
>
> CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
> BUG= 663208 , 664887 
> TBR=chrishtr@chromium.org (for platform/graphics/paint/DisplayItem.h with changed display item types about collapsed borders)
>
> Review-Url: https://codereview.chromium.org/2430313004
> Committed: https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e
> Cr-Original-Commit-Position: refs/heads/master@{#431744}
> Cr-Commit-Position: refs/heads/master@{#436426}

TBR=chrishtr@chromium.org,wkorman@chromium.org,esprehn@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG= 663208 , 664887 

Review-Url: https://codereview.chromium.org/2556633002
Cr-Commit-Position: refs/heads/master@{#436484}

[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table-outer-border-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table-section-repaint-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/border-collapse-change-separate-to-collapse-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-cell-append-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-color-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-width-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-color-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-width-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-color-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-width-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-row-border-width-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-color-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-width-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-tbody-border-width-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-resize-expected.txt
[delete] https://crrev.com/d0df22be04ce0f84edfe6e6df9ae9b8af910d2ba/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color-expected.html
[delete] https://crrev.com/d0df22be04ce0f84edfe6e6df9ae9b8af910d2ba/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color-expected.txt
[delete] https://crrev.com/d0df22be04ce0f84edfe6e6df9ae9b8af910d2ba/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html
[delete] https://crrev.com/d0df22be04ce0f84edfe6e6df9ae9b8af910d2ba/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color-expected.html
[delete] https://crrev.com/d0df22be04ce0f84edfe6e6df9ae9b8af910d2ba/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color-expected.txt
[delete] https://crrev.com/d0df22be04ce0f84edfe6e6df9ae9b8af910d2ba/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color.html
[delete] https://crrev.com/d0df22be04ce0f84edfe6e6df9ae9b8af910d2ba/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color-expected.html
[delete] https://crrev.com/d0df22be04ce0f84edfe6e6df9ae9b8af910d2ba/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color-expected.txt
[delete] https://crrev.com/d0df22be04ce0f84edfe6e6df9ae9b8af910d2ba/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color.html
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/BUILD.gn
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/layout/LayoutTable.cpp
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/layout/LayoutTable.h
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/layout/LayoutTableCell.h
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/layout/LayoutTableSection.h
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/paint/TableCellPainter.h
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/paint/TablePainter.cpp
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/paint/TablePainter.h
[delete] https://crrev.com/d0df22be04ce0f84edfe6e6df9ae9b8af910d2ba/third_party/WebKit/Source/core/paint/TablePainterTest.cpp
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/core/paint/TableSectionPainter.h
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
[modify] https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h

Project Member

Comment 8 by bugdroid1@chromium.org, Dec 6 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0f3a24a75d753be1d151dcb825b349218acf34ca

commit 0f3a24a75d753be1d151dcb825b349218acf34ca
Author: ricea <ricea@chromium.org>
Date: Tue Dec 06 04:28:20 2016

Reland of Paint collapsed borders of a table as one display item (patchset #1 id:1 of https://codereview.chromium.org/2556633002/ )

Reason for revert:
This revert seems to have broken paint/invalidation/table/composited-cell-collapsed-border-add-anonymous.html  and virtual/spinvalidation/paint/invalidation/table/composited-cell-collapsed-border-add-anonymous.html on many bots. Reverting some more just to be on the safe side.

See for example https://luci-milo.appspot.com/buildbot/chromium.webkit/WebKit%20Linux%20Trusty%20Leak/516

Original issue's description:
> Revert of Paint collapsed borders of a table as one display item (patchset #4 id:60001 of https://codereview.chromium.org/2502353003/ )
>
> Reason for revert:
> Need to think more about performance and improve.
>
> Original issue's description:
> > Paint collapsed borders of a table as one display item
> >
> > This simplifies paint invalidation logic on collapsed border changes.
> >
> > About performance:
> > With this CL we create a big display item on the table containing all
> > collapsed border paintings, instead of many small display items on cells.
> > This will cause more painting when the display item is invalidated, but
> > saves time to handle many cached display items. Perf try jobs [1] show
> > that this CL improves performance of one test
> > (blink_perf.paint.large-table-background-change-with-visible-collapsed-borders.html),
> > and degrade performance of one test
> > (blink_perf.paint.large-table-repaint.html)
> > and doesn't affect much of performance of other tests.
> > Cluster-telemetry run showed no change or slight progression (https://ct.skia.org/chromium_perf_runs/, run 1433)
> >
> > This is a reland of https://codereview.chromium.org/2430313004, with
> >  crbug.com/664887  fixed by force invalidation of collapsed borders on
> > layout change.
> >
> > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
> > BUG= 663208 , 664887 
> > TBR=chrishtr@chromium.org (for platform/graphics/paint/DisplayItem.h with changed display item types about collapsed borders)
> >
> > Review-Url: https://codereview.chromium.org/2430313004
> > Committed: https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e
> > Cr-Original-Commit-Position: refs/heads/master@{#431744}
> > Cr-Commit-Position: refs/heads/master@{#436426}
>
> TBR=chrishtr@chromium.org,wkorman@chromium.org,esprehn@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG= 663208 , 664887 
>
> Committed: https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c
> Cr-Commit-Position: refs/heads/master@{#436484}

TBR=chrishtr@chromium.org,wkorman@chromium.org,esprehn@chromium.org,wangxianzhu@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG= 663208 , 664887 

Review-Url: https://codereview.chromium.org/2551963003
Cr-Commit-Position: refs/heads/master@{#436521}

[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table-outer-border-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table-section-repaint-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/border-collapse-change-separate-to-collapse-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-cell-append-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-color-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-width-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-color-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-width-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-color-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-width-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-row-border-width-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-color-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-width-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-tbody-border-width-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-resize-expected.txt
[add] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color-expected.html
[add] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color-expected.txt
[add] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html
[add] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color-expected.html
[add] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color-expected.txt
[add] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color.html
[add] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color-expected.html
[add] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color-expected.txt
[add] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color.html
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/BUILD.gn
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/layout/LayoutTable.cpp
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/layout/LayoutTable.h
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/layout/LayoutTableCell.h
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/layout/LayoutTableSection.h
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/paint/TableCellPainter.h
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/paint/TablePainter.cpp
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/paint/TablePainter.h
[add] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/paint/TablePainterTest.cpp
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/core/paint/TableSectionPainter.h
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
[modify] https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h

Project Member

Comment 9 by bugdroid1@chromium.org, Dec 6 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e7a2bfbdbba8f894de633559bf89f77f35257c9b

commit e7a2bfbdbba8f894de633559bf89f77f35257c9b
Author: ricea <ricea@chromium.org>
Date: Tue Dec 06 09:03:11 2016

Revert of Paint collapsed borders of a table as one display item (patchset #1 id:1 of https://codereview.chromium.org/2551963003/ )

Reason for revert:
Tests break when this patch is out, but more break when it's in. Reverting again.

Original issue's description:
> Reland of Paint collapsed borders of a table as one display item (patchset #1 id:1 of https://codereview.chromium.org/2556633002/ )
>
> Reason for revert:
> This revert seems to have broken paint/invalidation/table/composited-cell-collapsed-border-add-anonymous.html  and virtual/spinvalidation/paint/invalidation/table/composited-cell-collapsed-border-add-anonymous.html on many bots. Reverting some more just to be on the safe side.
>
> See for example https://luci-milo.appspot.com/buildbot/chromium.webkit/WebKit%20Linux%20Trusty%20Leak/516
>
> Original issue's description:
> > Revert of Paint collapsed borders of a table as one display item (patchset #4 id:60001 of https://codereview.chromium.org/2502353003/ )
> >
> > Reason for revert:
> > Need to think more about performance and improve.
> >
> > Original issue's description:
> > > Paint collapsed borders of a table as one display item
> > >
> > > This simplifies paint invalidation logic on collapsed border changes.
> > >
> > > About performance:
> > > With this CL we create a big display item on the table containing all
> > > collapsed border paintings, instead of many small display items on cells.
> > > This will cause more painting when the display item is invalidated, but
> > > saves time to handle many cached display items. Perf try jobs [1] show
> > > that this CL improves performance of one test
> > > (blink_perf.paint.large-table-background-change-with-visible-collapsed-borders.html),
> > > and degrade performance of one test
> > > (blink_perf.paint.large-table-repaint.html)
> > > and doesn't affect much of performance of other tests.
> > > Cluster-telemetry run showed no change or slight progression (https://ct.skia.org/chromium_perf_runs/, run 1433)
> > >
> > > This is a reland of https://codereview.chromium.org/2430313004, with
> > >  crbug.com/664887  fixed by force invalidation of collapsed borders on
> > > layout change.
> > >
> > > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
> > > BUG= 663208 , 664887 
> > > TBR=chrishtr@chromium.org (for platform/graphics/paint/DisplayItem.h with changed display item types about collapsed borders)
> > >
> > > Review-Url: https://codereview.chromium.org/2430313004
> > > Committed: https://crrev.com/16363da3f8fba57bef3d203bbb8590bf4f60037e
> > > Cr-Original-Commit-Position: refs/heads/master@{#431744}
> > > Cr-Commit-Position: refs/heads/master@{#436426}
> >
> > TBR=chrishtr@chromium.org,wkorman@chromium.org,esprehn@chromium.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG= 663208 , 664887 
> >
> > Committed: https://crrev.com/6c06fc0cfddfb60ae2ab0bb1ca88b2428db70c7c
> > Cr-Commit-Position: refs/heads/master@{#436484}
>
> TBR=chrishtr@chromium.org,wkorman@chromium.org,esprehn@chromium.org,wangxianzhu@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG= 663208 , 664887 
>
> Committed: https://crrev.com/0f3a24a75d753be1d151dcb825b349218acf34ca
> Cr-Commit-Position: refs/heads/master@{#436521}

TBR=chrishtr@chromium.org,wkorman@chromium.org,esprehn@chromium.org,wangxianzhu@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG= 663208 , 664887 

Review-Url: https://codereview.chromium.org/2548333003
Cr-Commit-Position: refs/heads/master@{#436547}

[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table-outer-border-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table-section-repaint-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/border-collapse-change-separate-to-collapse-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-cell-append-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-color-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-width-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-color-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-width-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-color-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-width-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-row-border-width-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-color-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-width-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-tbody-border-width-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-resize-expected.txt
[delete] https://crrev.com/cbcd7bf6139fb6b95e65b28497ea3c24c8b76f2e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color-expected.html
[delete] https://crrev.com/cbcd7bf6139fb6b95e65b28497ea3c24c8b76f2e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color-expected.txt
[delete] https://crrev.com/cbcd7bf6139fb6b95e65b28497ea3c24c8b76f2e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html
[delete] https://crrev.com/cbcd7bf6139fb6b95e65b28497ea3c24c8b76f2e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color-expected.html
[delete] https://crrev.com/cbcd7bf6139fb6b95e65b28497ea3c24c8b76f2e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color-expected.txt
[delete] https://crrev.com/cbcd7bf6139fb6b95e65b28497ea3c24c8b76f2e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color.html
[delete] https://crrev.com/cbcd7bf6139fb6b95e65b28497ea3c24c8b76f2e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color-expected.html
[delete] https://crrev.com/cbcd7bf6139fb6b95e65b28497ea3c24c8b76f2e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color-expected.txt
[delete] https://crrev.com/cbcd7bf6139fb6b95e65b28497ea3c24c8b76f2e/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-section-change-collapsed-border-color.html
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/BUILD.gn
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/layout/LayoutTable.h
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/layout/LayoutTableCell.h
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/paint/TableCellPainter.h
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/paint/TablePainter.cpp
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/paint/TablePainter.h
[delete] https://crrev.com/cbcd7bf6139fb6b95e65b28497ea3c24c8b76f2e/third_party/WebKit/Source/core/paint/TablePainterTest.cpp
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/core/paint/TableSectionPainter.h
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
[modify] https://crrev.com/e7a2bfbdbba8f894de633559bf89f77f35257c9b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h

Project Member

Comment 10 by bugdroid1@chromium.org, Apr 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a

commit 62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a
Author: wangxianzhu <wangxianzhu@chromium.org>
Date: Wed Apr 05 00:07:54 2017

Paint backgrounds of a table section/row in one display item

Previously we painted backgrounds of table cell containers in small
display items each for each cell. This caused complexities in paint
invalidation.

Now paint backgrounds (including shadows) of a section/row in one
display item. Section also paints column backgrounds into its background
display item.

Previous paint invalidation logic invalidating cells on container
background change is removed.

Perf try job
https://build.chromium.org/p/tryserver.chromium.perf/builders/linux_perf_bisect/builds/7134
shows 5% to 20% performance improvement for
PerformanceTests/paint/large-table*.html.

BUG= 663208 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Review-Url: https://codereview.chromium.org/2786463004
Cr-Commit-Position: refs/heads/master@{#461907}

[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/invalidation/table-col-background-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/invalidation/table-col-background-offset-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/invalidation/table-row-bg-change-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/invalidation/table-row-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/invalidation/table-with-padding-row-invalidation-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-69296-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-width-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-width-expected.txt
[delete] https://crrev.com/b226550dbd1834c2f7addec9d1df7d57498fb7fc/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-col-initial-empty-expected.txt
[delete] https://crrev.com/b226550dbd1834c2f7addec9d1df7d57498fb7fc/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-col-span-expected.txt
[delete] https://crrev.com/b226550dbd1834c2f7addec9d1df7d57498fb7fc/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.txt
[delete] https://crrev.com/b226550dbd1834c2f7addec9d1df7d57498fb7fc/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.txt
[add] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/tables/huge-table-composited-scroll-expected.html
[add] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/tables/huge-table-composited-scroll.html
[add] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/tables/self-painting-row-background-vertical-clipped-expected.html
[add] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/paint/tables/self-painting-row-background-vertical-clipped.html
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-span-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-colgroup-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-composited-row-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-composited-row-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-col-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-col-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-col-span-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-colgroup-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-composited-row-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-section-composited-row-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-section-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-section-initial-empty-expected.txt
[rename] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-col-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-col-initial-empty-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-col-span-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.txt
[rename] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-colgroup-expected.txt
[rename] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.txt
[rename] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-composited-row-expected.txt
[rename] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.txt
[rename] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-expected.txt
[rename] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-initial-empty-expected.txt
[rename] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-section-composited-row-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.txt
[rename] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-section-expected.txt
[rename] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/composited-table-background-section-initial-empty-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-col-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-col-initial-empty-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-col-span-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-colgroup-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-composited-row-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-initial-empty-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-section-composited-row-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-section-expected.txt
[copy] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-section-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-col-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-col-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-col-span-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-colgroup-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-composited-row-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-section-composited-row-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-section-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/composited-table-background-section-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-col-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-col-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-col-span-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-colgroup-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-composited-row-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-section-composited-row-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-section-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/composited-table-background-section-initial-empty-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/table-row-expected.txt
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/BUILD.gn
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutBox.h
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutTable.h
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.h
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutTableCell.h
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/layout/LayoutTableSection.h
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/paint/TableCellPainter.h
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/paint/TablePaintInvalidator.cpp
[rename] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/paint/TablePainterTest.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/paint/TableRowPainter.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/paint/TableRowPainter.h
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6fbf7a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
[modify] https://crrev.com/62ad1c5bc2e538f2a57c2e16e06327414a6f
Cc: wangxianzhu@chromium.org
Owner: robho...@gmail.com
We have landed CL for backgrounds. This bug remains open for collapsed borders.

robhogan@'s WIP CL https://codereview.chromium.org/2791433003/ will address the collapsed borders issue.
Project Member

Comment 12 by bugdroid1@chromium.org, Apr 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c731464f86c6a5c5c3f2b64890e04b38750896fc

commit c731464f86c6a5c5c3f2b64890e04b38750896fc
Author: wangxianzhu <wangxianzhu@chromium.org>
Date: Fri Apr 28 23:14:06 2017

Optimize collapsed border calculation (step 1)

Previously we didn't cache results of collapsed borders computation
during layout or overflow recalculation, so we had to recompute all
collapsed borders before paint invalidation if the table's collapsed
borders are marked invalid.

Now when a table's collapsed borders need to be invalidated, mark all
cells' collapsed borders need to be invalidated [1]. When a cell needs
its collapsed border values (regardless of lifecycle phase), we check
the invalidation flag and update and cache the result when necessary.

As LayoutTableCell::CollapsedBorderValues will be used for both layout
and paint, the include_color paremeter of ComputeCollapsedXXXBorder()
is removed.

As adjacent cells with the same span share collapsed borders, we can
also get the collapsed border from the adjacent cell if its collapsed
borders are valid.

[1] In the next step, we'll only invalidate collapsed borders for
affected cells instead of all cells.

BUG= 626748 , 663208 

Review-Url: https://codereview.chromium.org/2846563002
Cr-Commit-Position: refs/heads/master@{#468174}

[modify] https://crrev.com/c731464f86c6a5c5c3f2b64890e04b38750896fc/third_party/WebKit/Source/core/layout/LayoutTable.cpp
[modify] https://crrev.com/c731464f86c6a5c5c3f2b64890e04b38750896fc/third_party/WebKit/Source/core/layout/LayoutTable.h
[modify] https://crrev.com/c731464f86c6a5c5c3f2b64890e04b38750896fc/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
[modify] https://crrev.com/c731464f86c6a5c5c3f2b64890e04b38750896fc/third_party/WebKit/Source/core/layout/LayoutTableCell.h
[modify] https://crrev.com/c731464f86c6a5c5c3f2b64890e04b38750896fc/third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp

Cc: -wangxianzhu@chromium.org robhogan@chromium.org
Owner: wangxianzhu@chromium.org
Based on discussion in https://codereview.chromium.org/2791433003/, the CL will be landed after I optimize and fix paint invalidation issues of collapsed borders in the current painting method, so I still own this bug.
Project Member

Comment 14 by bugdroid1@chromium.org, Jun 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286

commit 0c1f73a50ab7c31c987decaba4abb5e3cbe8e286
Author: Xianzhu Wang <wangxianzhu@chromium.org>
Date: Wed Jun 21 22:22:12 2017

Paint collapsed borders in one pass

Previously, we painted table collapsed borders in multiple passes,
expecting that higher priority borders would cover lower priority
borders that were painted earlier. As we have already resolved
conflicts of borders of adjacent cells in LayoutTableCell::
ComputeCollapsedXXXBorder(), the multi-pass painting method is
mainly for conflict resolution at the corners.

However, this multi-pass painting method had many problems:
1. The method didn't work for translucent borders because they can't
   fully cover others;
2. We had to paint each shared border twice to ensure correct
   corner coverage when the border in one of the adjacent cells
   is lengthened to match adjoining borders.
etc.

Multi-pass painting also blocked  crbug.com/663208  because a row
would paint arbitrary times for collapsed borders making it impossible
to cached display items which need unique ids.

This CL uses a new method of corner conflict resolution:
lengthen or shorten borders at corners according to their adjoining
relationship and priorities, to avoid overlapping of the borders, so
that we can paint borders in different priorities in any order.

With the new method, now we paint each shared border just once.

Caveats:
- This CL still overlap borders of the same priority at the corners.
  This is to keep the current behavior for double style borders
  (e.g. css2.1/t170602-bdr-conflict-w-01-d.html) before we determine
  the best way to handle this ( crbug.com/672216 ).
- In some rare cases, we bail out the new corner conflict resolution
  and still paint the borders twice (but may be in wrong order):
  * A table row's direction is different from the table's direction.
  * Some col/row spanning situations (crbug.com/2902 etc.)

Bug:  663208 
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: I8fe51dd28f1d65374101f17fe95636d5665118de
Reviewed-on: https://chromium-review.googlesource.com/528561
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Chris harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#481331}
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/fast/table/border-collapsing/collapsed-border-with-col-colgroup-span-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/fast/table/border-collapsing/equal-precedence-resolution-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/fast/table/border-collapsing/equal-precedence-resolution-vertical-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/border-collapse-change-collapse-to-separate-expected.txt
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/paint/invalidation/table-cell-vertical-overflow-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/paint/invalidation/table/border-collapse-change-collapse-to-separate-expected.txt
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/paint/tables/collapsed-border-corner-conflict-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/paint/tables/collapsed-border-corner-conflict-expected.txt
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/paint/tables/collapsed-border-corner-conflict.html
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-03-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-04-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-05-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-06-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-07-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-08-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-11-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-12-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-13-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-14-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-15-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-16-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-17-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-18-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-23-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-24-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-31-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-32-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-33-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-34-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-35-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-36-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-37-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-38-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-39-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-41-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-42-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-43-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-44-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-45-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-46-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-47-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-48-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-49-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-51-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-52-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-53-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-54-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-55-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-56-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-57-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-58-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-59-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-61-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-62-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-63-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-64-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-65-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-66-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-67-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-68-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-69-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-71-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-72-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-73-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-74-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-75-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-76-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-77-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-78-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-79-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-81-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-82-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-83-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-84-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-85-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-86-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-87-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-88-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-89-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-93-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/css2.1/t170602-bdr-conflct-w-94-d-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-antialiasing-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_border-table-cell-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_border-table-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_border-table-column-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_border-table-column-group-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_border-table-quirks-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_border-table-row-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_border-table-row-group-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-hide-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_position-table-cell-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_position-table-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_position-table-column-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_position-table-column-group-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_position-table-row-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_position-table-row-group-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_simple-table-cell-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_simple-table-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_simple-table-column-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_simple-table-column-group-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_simple-table-row-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_simple-table-row-group-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/002-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/002-vertical-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/collapsing_borders/bug41262-3-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_border-table-cell-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_border-table-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_border-table-column-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_border-table-column-group-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_border-table-quirks-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_border-table-row-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_border-table-row-group-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_layers-hide-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_position-table-cell-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_position-table-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_position-table-column-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_position-table-column-group-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_position-table-row-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_position-table-row-group-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_simple-table-cell-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_simple-table-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_simple-table-column-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_simple-table-column-group-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_simple-table-row-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/backgr_simple-table-row-group-collapsed-border-expected.png
[add] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/border-collapsing/002-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/fast/table/border-collapsing/002-vertical-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987decaba4abb5e3cbe8e286/third_party/WebKit/LayoutTests/platform/mac-mac10.10/fast/table/backgr_border-table-cell-collapsed-border-expected.png
[modify] https://crrev.com/0c1f73a50ab7c31c987
Project Member

Comment 15 by bugdroid1@chromium.org, Jun 25 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/94e1d1e92fa1d4734de08210747d36126ce235aa

commit 94e1d1e92fa1d4734de08210747d36126ce235aa
Author: Xianzhu Wang <wangxianzhu@chromium.org>
Date: Sun Jun 25 21:49:01 2017

Paint all collapsed borders of a row (or table) as one display item

In normal cases and SPv2, paint all collapsed borders of a row
as one display item. If any row or section is composited, let the
table paint all collapsed borders.

- This reduces number of display items for collapsed borders, which can
  improve performance of painting and rasterization. This is a trade-off
  between number of display items and area of re-rasterization.

- Simplify code for collapsed border painting and invalidation and fix
  collapsed border invalidation issues when the row or the section is
  composited. 

- In the future we can implement more sophisticated collapsed border
  algorithm to improve performance of common cases (e.g. paint the whole
  top border of a row as one drawing operation). 

Bug:  663208 
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: I0d71c0f62c89b028739ea374e033a8e844822250
Reviewed-on: https://chromium-review.googlesource.com/540178
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Chris harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#482176}
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/fast/table/border-collapsing/001-expected.png
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/fast/table/border-collapsing/001-vertical-expected.png
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table-outer-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table-section-repaint-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/border-collapse-change-collapse-to-separate-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/border-collapse-change-separate-to-collapse-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-69296-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-cell-append-expected.txt
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-change-cell-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-change-cell-border-width-expected.txt
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-change-col-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-change-col-border-width-expected.txt
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-change-colgroup-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-change-colgroup-border-width-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-change-row-border-width-expected.txt
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-change-table-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-change-table-border-width-expected.txt
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-change-tbody-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/cached-change-tbody-border-width-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/collapsed-border-cell-resize-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/table/resize-table-repaint-percent-size-cell-expected.txt
[delete] https://crrev.com/1ffeff7a49a7aeeb48fc2ac5f3d4f24f6194e85c/third_party/WebKit/LayoutTests/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table-outer-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table-section-repaint-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/border-collapse-change-collapse-to-separate-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/border-collapse-change-separate-to-collapse-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-cell-append-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-cell-border-width-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-width-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-width-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-row-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-row-border-width-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-table-border-width-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-tbody-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-tbody-border-width-expected.txt
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-change-width-composited-cell-expected.html
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-change-width-composited-cell.html
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-change-width-composited-row-expected.html
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-change-width-composited-row.html
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-change-width-composited-section-expected.html
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-change-width-composited-section.html
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-change-width-expected.html
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-change-width.html
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-cell-resize-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/composited-table-row-expected.txt
[delete] https://crrev.com/1ffeff7a49a7aeeb48fc2ac5f3d4f24f6194e85c/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/resize-table-repaint-percent-size-cell-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/composited-table-row-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table/resize-table-repaint-percent-size-cell-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/composited-table-row-expected.txt
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/table/resize-table-repaint-percent-size-cell-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/composited-table-row-expected.txt
[add] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table/resize-table-repaint-percent-size-cell-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/composited-table-row-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/resize-table-repaint-percent-size-cell-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/composited-table-row-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table-cell-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table-collapsed-border-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/cached-change-cell-sl-border-color-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table/resize-table-repaint-percent-size-cell-expected.txt
[delete] https://crrev.com/1ffeff7a49a7aeeb48fc2ac5f3d4f24f6194e85c/third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/table-outer-border-expected.txt
[delete] https://crrev.com/1ffeff7a49a7aeeb48fc2ac5f3d4f24f6194e85c/third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/table-section-repaint-expected.txt
[delete] https://crrev.com/1ffeff7a49a7aeeb48fc2ac5f3d4f24f6194e85c/third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/table/border-collapse-change-separate-to-collapse-expected.txt
[delete] https://crrev.com/1ffeff7a49a7aeeb48fc2ac5f3d4f24f6194e85c/third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/table/cached-change-row-border-width-expected.txt
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/layout/CollapsedBorderValue.h
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/layout/LayoutTable.cpp
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/layout/LayoutTable.h
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/layout/LayoutTableCell.h
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/layout/LayoutTableRow.h
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/paint/CollapsedBorderPainter.cpp
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/paint/CollapsedBorderPainter.h
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/paint/TableCellPaintInvalidator.cpp
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/paint/TableCellPaintInvalidator.h
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/paint/TableCellPainter.h
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/paint/TablePainter.cpp
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/paint/TablePainter.h
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/paint/TablePainterTest.cpp
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/paint/TableRowPainter.cpp
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/paint/TableRowPainter.h
[modify] https://crrev.com/94e1d1e92fa1d4734de08210747d36126ce235aa/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp

Status: Fixed (was: Assigned)

Sign in to add a comment