|
Fix several corner case issues of scrollbar paint invalidation
- Invalidate composited scrollbars also during paint invalidation to
avoid unnecessary invalidation on intermediate changes;
- Invalidate also on the containing box for moved/resized composited
non-overlay scrollbars. This ensures the expanded/shrunk areas of the
box because of scrollbar existence/width change are invalidated. This
is the root cause of bug 535161.
- Avoid unnecessary invalidations on overlay scrollbar changes.
BUG= 535161, 560418
Committed: https://crrev.com/48e402acbebf2717b8e79b89dba5310d31bf95da
Cr-Commit-Position: refs/heads/master@{#363998}
Total comments: 8
Total comments: 4
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+164 lines, -79 lines) |
Patch |
|
M |
third_party/WebKit/LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
A + |
third_party/WebKit/LayoutTests/fast/repaint/destroy-composited-scrollbar.html
|
View
|
1
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
A + |
third_party/WebKit/LayoutTests/fast/repaint/destroy-composited-scrollbar-expected.txt
|
View
|
1
2
|
1 chunk |
+8 lines, -6 lines |
0 comments
|
Download
|
|
A + |
third_party/WebKit/LayoutTests/fast/repaint/destroy-overlay-scrollbar.html
|
View
|
1
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
A + |
third_party/WebKit/LayoutTests/fast/repaint/destroy-overlay-scrollbar-expected.txt
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/repaint/destroy-scrollbar-expected.txt
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/repaint/layout-state-only-positioned-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/repaint/overflow-scroll-body-appear-expected.txt
|
View
|
1
|
2 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/repaint/resize-scrollable-div-expected.txt
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/repaint/scrollbar-invalidation-on-resize-expected.txt
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/repaint/scrollbar-invalidation-on-resize-with-border-expected.txt
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/platform/linux/fast/repaint/details-open-repaint-expected.txt
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/platform/linux/fast/repaint/overflow-scroll-body-appear-expected.txt
|
View
|
1
2
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/platform/linux/fast/repaint/resize-scrollable-iframe-expected.txt
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutBox.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutObject.h
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.h
|
View
|
1
2
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp
|
View
|
1
2
3
4
|
4 chunks |
+72 lines, -26 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 39 (13 generated)
|