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

Side by Side Diff: LayoutTests/compositing/squashing/squash-above-fixed-1-expected.txt

Issue 512293002: Fix paint invalidation when composited layers change from paints-into-ancestor to self-painting. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 The gray div is a composited fixed-position element, and the cyan/lime elements should be squashed together on top. When scrolling, paragraphs may pop in-and-ou t of the squashing layer when they change overlapping status with respect to the composited layer underneath. 1 The gray div is a composited fixed-position element, and the cyan/lime elements should be squashed together on top. When scrolling, paragraphs may pop in-and-ou t of the squashing layer when they change overlapping status with respect to the composited layer underneath.
2 2
3 This scenario tests (1) that content repaints correctly as layers pop in and out of squashing, and (2) that the positioning of the squashing layer remains corre ct (i.e. scrolls properly) when the squashing layer is on top of a fixed-positio n composited layer. 3 This scenario tests (1) that content repaints correctly as layers pop in and out of squashing, and (2) that the positioning of the squashing layer remains corre ct (i.e. scrolls properly) when the squashing layer is on top of a fixed-positio n composited layer.
4 4
5 CASE 1, original layer tree: 5 CASE 1, original layer tree:
6 { 6 {
7 "bounds": [785, 1400], 7 "bounds": [785, 1400],
8 "children": [ 8 "children": [
9 { 9 {
10 "bounds": [785, 1400], 10 "bounds": [785, 1400],
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "children": [ 44 "children": [
45 { 45 {
46 "bounds": [785, 1400], 46 "bounds": [785, 1400],
47 "contentsOpaque": true, 47 "contentsOpaque": true,
48 "drawsContent": true, 48 "drawsContent": true,
49 "repaintRects": [ 49 "repaintRects": [
50 [0, 500, 200, 100], 50 [0, 500, 200, 100],
51 [0, 200, 200, 100], 51 [0, 200, 200, 100],
52 [0, 100, 200, 100], 52 [0, 100, 200, 100],
53 [0, 100, 200, 100], 53 [0, 100, 200, 100],
54 [0, 0, 200, 100],
54 [0, 0, 200, 100] 55 [0, 0, 200, 100]
55 ], 56 ],
56 "children": [ 57 "children": [
57 { 58 {
58 "position": [100, 230], 59 "position": [100, 230],
59 "bounds": [300, 300], 60 "bounds": [300, 300],
60 "contentsOpaque": true, 61 "contentsOpaque": true,
61 "drawsContent": true, 62 "drawsContent": true,
62 "backgroundColor": "#D3D3D3" 63 "backgroundColor": "#D3D3D3"
63 }, 64 },
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 "children": [ 132 "children": [
132 { 133 {
133 "bounds": [785, 1400], 134 "bounds": [785, 1400],
134 "contentsOpaque": true, 135 "contentsOpaque": true,
135 "drawsContent": true, 136 "drawsContent": true,
136 "repaintRects": [ 137 "repaintRects": [
137 [0, 600, 200, 100], 138 [0, 600, 200, 100],
138 [0, 200, 200, 100], 139 [0, 200, 200, 100],
139 [0, 200, 200, 100], 140 [0, 200, 200, 100],
140 [0, 100, 200, 100], 141 [0, 100, 200, 100],
142 [0, 0, 200, 100],
141 [0, 0, 200, 100] 143 [0, 0, 200, 100]
142 ], 144 ],
143 "children": [ 145 "children": [
144 { 146 {
145 "position": [100, 320], 147 "position": [100, 320],
146 "bounds": [300, 300], 148 "bounds": [300, 300],
147 "contentsOpaque": true, 149 "contentsOpaque": true,
148 "drawsContent": true, 150 "drawsContent": true,
149 "backgroundColor": "#D3D3D3" 151 "backgroundColor": "#D3D3D3"
150 }, 152 },
(...skipping 19 matching lines...) Expand all
170 [0, 0, 200, 100] 172 [0, 0, 200, 100]
171 ] 173 ]
172 } 174 }
173 ] 175 ]
174 } 176 }
175 ] 177 ]
176 } 178 }
177 ] 179 ]
178 } 180 }
179 181
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698