|
|
Reduce invalidation on children-needs-layout containers
The concept of this patch is to detect cases where containers
don't need to generate invalidation because they don't need
layout themselves (only need layout because of their children)
and don't have anything that warrant an invalidation (e.g. a
order, an outline, a background, basically anything that would
require the difference in size to be invalidated).
This change removes a lot of invalidation in our tests (yay!),
a good chunk is due to not invalidating when body's size
change but there are still some room for improvements.
The new test is a variation of table-section-repaint.html
that checks that we correctly handle block flow shifts.
BUG= 313447
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177329
Total comments: 2
Total comments: 4
Total comments: 8
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+180 lines, -81 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/compositing/repaint/resize-repaint-expected.txt
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/box-shadow/negative-shadow-box-expand-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/box-shadow/negative-shadow-box-shrink-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/add-table-overpaint-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/background-generated-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/repaint/block-shift-repaint.html
|
View
|
1
2
3
4
5
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/repaint/block-shift-repaint-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/border-radius-repaint-2-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/box-shadow-inset-repaint-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/content-into-overflow-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/intermediate-layout-position-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/invalidation-with-zero-size-object-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/overflow-into-content-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/repaint-table-row-in-composited-document-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/table-section-repaint-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-percent-html-expected.txt
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-viewport-percent-expected.txt
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/block-no-inflow-children-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/border-fit-lines-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/bugzilla-5699-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/list-marker-2-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/make-children-non-inline-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/outline-change-invalidation-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/repaint-resized-overflow-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/selection-clear-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/stacked-diacritics-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/table-cell-move-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/table-collapsed-border-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/table-shrink-row-repaint-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/vertical-align-length1-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/vertical-align1-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/vertical-align2-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/svg/custom/use-setAttribute-crash-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderBox.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.h
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+17 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.cpp
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderTable.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyle.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 28 (0 generated)
|