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

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

Issue 358153003: Get rid of one-off paint invalidation code for paints-into-ancestor compositing state (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed comment from vollick@ Created 6 years, 5 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
« no previous file with comments | « no previous file | Source/core/rendering/compositing/CompositedLayerMapping.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 }, 63 },
64 { 64 {
65 "children": [ 65 "children": [
66 { 66 {
67 "position": [0, 200], 67 "position": [0, 200],
68 "bounds": [200, 100], 68 "bounds": [200, 100],
69 "contentsOpaque": true, 69 "contentsOpaque": true,
70 "drawsContent": true, 70 "drawsContent": true,
71 "backgroundColor": "#00FFFF", 71 "backgroundColor": "#00FFFF",
72 "repaintRects": [ 72 "repaintRects": [
73 [0, 0, 200, 100],
73 [0, 0, 200, 100] 74 [0, 0, 200, 100]
74 ] 75 ]
75 }, 76 },
76 { 77 {
77 "position": [0, 300], 78 "position": [0, 300],
78 "bounds": [200, 300], 79 "bounds": [200, 300],
79 "drawsContent": true, 80 "drawsContent": true,
80 "repaintRects": [ 81 "repaintRects": [
81 [0, 200, 200, 100], 82 [0, 200, 200, 100],
82 [0, 100, 200, 100], 83 [0, 100, 200, 100],
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 }, 151 },
151 { 152 {
152 "children": [ 153 "children": [
153 { 154 {
154 "position": [0, 300], 155 "position": [0, 300],
155 "bounds": [200, 100], 156 "bounds": [200, 100],
156 "contentsOpaque": true, 157 "contentsOpaque": true,
157 "drawsContent": true, 158 "drawsContent": true,
158 "backgroundColor": "#00FF00", 159 "backgroundColor": "#00FF00",
159 "repaintRects": [ 160 "repaintRects": [
161 [0, 0, 200, 100],
160 [0, 0, 200, 100] 162 [0, 0, 200, 100]
161 ] 163 ]
162 }, 164 },
163 { 165 {
164 "position": [0, 400], 166 "position": [0, 400],
165 "bounds": [200, 300], 167 "bounds": [200, 300],
166 "drawsContent": true, 168 "drawsContent": true,
167 "repaintRects": [ 169 "repaintRects": [
168 [0, 200, 200, 100], 170 [0, 200, 200, 100],
169 [0, 100, 200, 100], 171 [0, 100, 200, 100],
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
« no previous file with comments | « no previous file | Source/core/rendering/compositing/CompositedLayerMapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698