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

Issue 2861373003: Let table row and section's self visual overflow cover whole collapsed borders (Closed)

Created:
3 years, 7 months ago by Xianzhu
Modified:
3 years, 7 months ago
Reviewers:
rhogan, wkorman
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Let table row and section's self visual overflow cover whole collapsed borders This ensures correct raster invalidation when row or section's border style changes and fix under-invalidation. The new logic in LayoutTableRow::ComputeOverflow() will be also useful when we let row be the display item client of collapsed borders (crbug.com/663208). At that time the new logic in LayoutTableSection::ComputeOverflowFromDescendants() will be replaced by paint invalidation of contained rows on section border style change. BUG=626748 Review-Url: https://codereview.chromium.org/2861373003 Cr-Commit-Position: refs/heads/master@{#470268} Committed: https://chromium.googlesource.com/chromium/src/+/dba4d1702934a03d833c91f2c025faf2106b9c76

Patch Set 1 #

Patch Set 2 : - #

Patch Set 3 : - #

Patch Set 4 : - #

Total comments: 9

Patch Set 5 : - #

Patch Set 6 : - #

Patch Set 7 : - #

Patch Set 8 : rebaseline-cl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -289 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
D third_party/WebKit/LayoutTests/paint/invalidation/composited-table-row-expected.txt View 1 2 3 4 5 6 7 1 chunk +0 lines, -35 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/table-outer-border-expected.txt View 1 2 3 4 5 6 7 2 chunks +7 lines, -17 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/table/border-collapse-change-collapse-to-separate-expected.txt View 1 2 3 4 5 6 7 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/table/border-collapse-change-separate-to-collapse-expected.txt View 1 2 3 4 5 6 7 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/table/cached-69296-expected.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-col-border-width-expected.txt View 1 2 3 4 5 6 7 2 chunks +6 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-colgroup-border-width-expected.txt View 1 2 3 4 5 6 7 3 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-row-border-color-expected.txt View 1 2 3 4 5 6 7 1 chunk +17 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-row-border-width-expected.txt View 1 2 3 4 5 6 7 2 chunks +2 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-tbody-border-color-expected.txt View 1 2 3 4 5 6 7 1 chunk +33 lines, -27 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/table/cached-change-tbody-border-width-expected.txt View 1 2 3 4 5 6 7 1 chunk +4 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/composited-table-row-expected.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/composited-table-row-expected.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/table-collapsed-border-expected.txt View 1 2 3 4 5 6 7 3 chunks +6 lines, -6 lines 0 comments Download
A + third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/composited-table-row-expected.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/composited-table-row-expected.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/table-collapsed-border-expected.txt View 1 2 3 4 5 6 7 3 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/composited-table-row-expected.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/composited-table-row-expected.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/table-collapsed-border-expected.txt View 1 2 3 4 5 6 7 3 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/table-outer-border-expected.txt View 1 2 3 4 5 6 7 1 chunk +16 lines, -16 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/table/border-collapse-change-collapse-to-separate-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/table/border-collapse-change-separate-to-collapse-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/table/cached-change-row-border-width-expected.txt View 1 2 3 4 5 6 7 2 chunks +5 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTable.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableCell.h View 2 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableCell.cpp View 4 chunks +34 lines, -28 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp View 1 2 3 4 2 chunks +46 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableRow.cpp View 1 chunk +15 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableRowTest.cpp View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableSection.h View 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableSection.cpp View 1 2 3 4 4 chunks +37 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableSectionTest.cpp View 1 2 3 4 5 9 chunks +47 lines, -13 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 32 (27 generated)
Xianzhu
3 years, 7 months ago (2017-05-08 16:50:19 UTC) #14
wkorman
lgtm https://codereview.chromium.org/2861373003/diff/60001/third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp File third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp (right): https://codereview.chromium.org/2861373003/diff/60001/third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp#newcode257 third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp:257: TEST_F(LayoutTableCellTest, LocalVisualRectWithCollapedBorders) { Collaped -> Collapsed https://codereview.chromium.org/2861373003/diff/60001/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp File ...
3 years, 7 months ago (2017-05-08 17:51:24 UTC) #18
Xianzhu
https://codereview.chromium.org/2861373003/diff/60001/third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp File third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp (right): https://codereview.chromium.org/2861373003/diff/60001/third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp#newcode257 third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp:257: TEST_F(LayoutTableCellTest, LocalVisualRectWithCollapedBorders) { On 2017/05/08 17:51:23, wkorman wrote: > ...
3 years, 7 months ago (2017-05-09 03:55:43 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2861373003/130001
3 years, 7 months ago (2017-05-09 05:46:53 UTC) #29
commit-bot: I haz the power
3 years, 7 months ago (2017-05-09 09:00:31 UTC) #32
Message was sent while issue was closed.
Committed patchset #8 (id:130001) as
https://chromium.googlesource.com/chromium/src/+/dba4d1702934a03d833c91f2c025...

Powered by Google App Engine
This is Rietveld 408576698