|
Invalidate the frame view when changing the background image of the document or body.
To do this, add a method to request full paint invalidation on FrameView. This also requires moving the full invalidation code into invalidateTreeIfNeeded() instead of layout(), since otherwise the invalidation requested will not always happen if layout does not occur.
In any case, invalidation should be in invalidateTreeIfNeeded(), not layout().
BUG= 425872
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184836
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+69 lines, -33 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/repaint/background-image-paint-invalidation-large-abspos-div.html
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/repaint/background-image-paint-invalidation-large-abspos-div-expected.png
|
View
|
1
2
3
4
5
|
Binary file |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/repaint/background-image-paint-invalidation-large-abspos-div-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-background-image-fixed-centered-composited-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-background-image-fixed-centered-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-background-image-generated-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-background-image-non-fixed-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-media-query-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-percent-html-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-percent-width-height-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-positioned-bottom-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-positioned-percent-top-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-vertical-writing-mode-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/repaint/window-resize-viewport-percent-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/overflow-scroll-body-appear-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderBox.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderView.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 28 (11 generated)
|