|
Let collapsed border drawings be cacheable
Previously because one table cell may paint its collapsed borders
multiple times, we enclose all collapsed border drawings in a
ScopeRecorder.
However, actually a table cell paints each border only once. When it
paint collapsed borders multiple times, it just paint different borders
in different time.
Use display item type to distinguish the different borders to avoid
the ScopeRecorder.
Also revert https://codereview.chromium.org/1234463005 to invalidate
table cells with changed collapsed borders.
BUG= 510492
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201002
Total comments: 8
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+150 lines, -27 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/table-outer-border-expected.txt
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/border-collapse-change-separate-to-collapse-expected.txt
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-cell-append-expected.txt
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-cell-remove-expected.txt
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-change-cell-border-color-expected.txt
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-change-cell-border-width-expected.txt
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-change-col-border-color-expected.txt
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-change-col-border-width-expected.txt
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-change-colgroup-border-color-expected.txt
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-change-colgroup-border-width-expected.txt
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-change-row-border-color-expected.txt
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-change-row-border-width-expected.txt
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-change-table-border-color-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-change-table-border-width-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-change-tbody-border-color-expected.txt
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/table/border-collapsing/cached-change-tbody-border-width-expected.txt
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/table-cell-collapsed-border-expected.txt
|
View
|
1
2
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/table-collapsed-border-expected.txt
|
View
|
1
2
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.txt
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/layout/LayoutTableCell.cpp
|
View
|
1
|
1 chunk |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/layout/LayoutTableSection.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/layout/LayoutTableSection.cpp
|
View
|
1
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/TableCellPainter.cpp
|
View
|
1
2
|
2 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/TablePainter.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/paint/DisplayItem.h
|
View
|
1
2
3
4
|
3 chunks |
+23 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/paint/DisplayItem.cpp
|
View
|
1
2
3
4
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (4 generated)
|