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

Issue 2805103003: Optimize collapsed border calculation (step 2) (Closed)

Created:
3 years, 8 months ago by Xianzhu
Modified:
3 years, 7 months ago
Reviewers:
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Optimize collapsed border calculation (step 2) Invalidate cell collapsed borders for affected cells only when border style changes. BUG=626748, 663208

Patch Set 1 #

Patch Set 2 : - #

Patch Set 3 : - #

Patch Set 4 : - #

Patch Set 5 : - #

Patch Set 6 : - #

Patch Set 7 : - #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -84 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutTable.h View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTable.cpp View 1 2 3 4 5 6 3 chunks +46 lines, -52 lines 1 comment Download
M third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 1 comment Download
M third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp View 1 2 3 4 5 6 1 chunk +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableCell.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableCell.cpp View 1 2 3 4 5 6 3 chunks +47 lines, -2 lines 2 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableCol.cpp View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableRow.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/core/layout/LayoutTableRow.cpp View 1 2 3 4 5 6 3 chunks +59 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableSection.h View 1 2 3 4 5 2 chunks +11 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/core/layout/LayoutTableSection.cpp View 1 2 3 4 5 6 2 chunks +76 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 27 (22 generated)
Xianzhu
3 years, 7 months ago (2017-04-27 16:59:21 UTC) #22
dgrogan
https://codereview.chromium.org/2805103003/diff/110001/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp File third_party/WebKit/Source/core/layout/LayoutTableCell.cpp (right): https://codereview.chromium.org/2805103003/diff/110001/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp#newcode509 third_party/WebKit/Source/core/layout/LayoutTableCell.cpp:509: // TODO(wangxianzhu,dgrogan): The following seems incorrect if the cell ...
3 years, 7 months ago (2017-04-27 20:43:25 UTC) #23
Xianzhu
https://codereview.chromium.org/2805103003/diff/110001/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp File third_party/WebKit/Source/core/layout/LayoutTableCell.cpp (right): https://codereview.chromium.org/2805103003/diff/110001/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp#newcode509 third_party/WebKit/Source/core/layout/LayoutTableCell.cpp:509: // TODO(wangxianzhu,dgrogan): The following seems incorrect if the cell ...
3 years, 7 months ago (2017-04-27 21:18:31 UTC) #24
wkorman
There are large chunks of new/revised code here and no unit test changes. Useful to ...
3 years, 7 months ago (2017-04-27 22:05:36 UTC) #25
Xianzhu
3 years, 7 months ago (2017-04-28 18:37:06 UTC) #26
Eventually we need to switch to calculating collapsed borders based on grids
instead of cells to correctly handle layout and painting of spanning cells. I
think we'd better switch to grids before this CL because many changes in this CL
would be changed again if we switch to grids later.

I withdraw review request of this CL.

Powered by Google App Engine
This is Rietveld 408576698