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

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

Issue 2559863002: Fix issue when background changes painting target layer (Closed)
Patch Set: Fix windows build Created 4 years 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
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 "layers": [ 7 "layers": [
8 { 8 {
9 "name": "LayoutView #document", 9 "name": "LayoutView #document",
10 "bounds": [785, 1400], 10 "bounds": [785, 1400],
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 "name": "LayoutBlockFlow (relative positioned) DIV id='paragraph-c' class= 'overlapping cyan'", 91 "name": "LayoutBlockFlow (relative positioned) DIV id='paragraph-c' class= 'overlapping cyan'",
92 "position": [0, 200], 92 "position": [0, 200],
93 "bounds": [200, 100], 93 "bounds": [200, 100],
94 "contentsOpaque": true, 94 "contentsOpaque": true,
95 "drawsContent": true, 95 "drawsContent": true,
96 "backgroundColor": "#00FFFF", 96 "backgroundColor": "#00FFFF",
97 "paintInvalidations": [ 97 "paintInvalidations": [
98 { 98 {
99 "object": "LayoutBlockFlow (relative positioned) DIV id='paragraph-c' class='overlapping cyan'", 99 "object": "LayoutBlockFlow (relative positioned) DIV id='paragraph-c' class='overlapping cyan'",
100 "rect": [0, 0, 200, 100], 100 "rect": [0, 0, 200, 100],
101 "reason": "full"
102 },
103 {
104 "object": "LayoutBlockFlow (relative positioned) DIV id='paragraph-c' class='overlapping cyan'",
105 "rect": [0, 0, 200, 100],
101 "reason": "compositing update" 106 "reason": "compositing update"
102 } 107 }
103 ] 108 ]
104 }, 109 },
105 { 110 {
106 "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (relative positioned) DIV id='paragraph-d' class='overlapping lime')", 111 "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (relative positioned) DIV id='paragraph-d' class='overlapping lime')",
107 "position": [0, 300], 112 "position": [0, 300],
108 "bounds": [200, 300], 113 "bounds": [200, 300],
109 "drawsContent": true, 114 "drawsContent": true,
110 "paintInvalidations": [ 115 "paintInvalidations": [
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 "name": "LayoutBlockFlow (relative positioned) DIV id='paragraph-d' class= 'overlapping lime'", 259 "name": "LayoutBlockFlow (relative positioned) DIV id='paragraph-d' class= 'overlapping lime'",
255 "position": [0, 300], 260 "position": [0, 300],
256 "bounds": [200, 100], 261 "bounds": [200, 100],
257 "contentsOpaque": true, 262 "contentsOpaque": true,
258 "drawsContent": true, 263 "drawsContent": true,
259 "backgroundColor": "#00FF00", 264 "backgroundColor": "#00FF00",
260 "paintInvalidations": [ 265 "paintInvalidations": [
261 { 266 {
262 "object": "LayoutBlockFlow (relative positioned) DIV id='paragraph-d' class='overlapping lime'", 267 "object": "LayoutBlockFlow (relative positioned) DIV id='paragraph-d' class='overlapping lime'",
263 "rect": [0, 0, 200, 100], 268 "rect": [0, 0, 200, 100],
269 "reason": "full"
270 },
271 {
272 "object": "LayoutBlockFlow (relative positioned) DIV id='paragraph-d' class='overlapping lime'",
273 "rect": [0, 0, 200, 100],
264 "reason": "compositing update" 274 "reason": "compositing update"
265 } 275 }
266 ] 276 ]
267 }, 277 },
268 { 278 {
269 "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (relative positioned) DIV id='paragraph-e' class='overlapping cyan')", 279 "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (relative positioned) DIV id='paragraph-e' class='overlapping cyan')",
270 "position": [0, 400], 280 "position": [0, 400],
271 "bounds": [200, 300], 281 "bounds": [200, 300],
272 "drawsContent": true, 282 "drawsContent": true,
273 "paintInvalidations": [ 283 "paintInvalidations": [
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 "object": "LayoutBlockFlow (relative positioned) DIV id='paragraph-f' clas s='overlapping lime'", 332 "object": "LayoutBlockFlow (relative positioned) DIV id='paragraph-f' clas s='overlapping lime'",
323 "reason": "compositing update" 333 "reason": "compositing update"
324 }, 334 },
325 { 335 {
326 "object": "LayoutBlockFlow (relative positioned) DIV id='paragraph-g' clas s='overlapping cyan'", 336 "object": "LayoutBlockFlow (relative positioned) DIV id='paragraph-g' clas s='overlapping cyan'",
327 "reason": "compositing update" 337 "reason": "compositing update"
328 } 338 }
329 ] 339 ]
330 } 340 }
331 341
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/compositing/invalidate-when-leaving-squashed-layer-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698