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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/squashing/squashed-layer-loses-graphicslayer-expected.txt

Issue 2406723002: Auto-rebaseline for r424089 (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
1 A squashing Layer that becomes non-composited should correctly send a repaint in validation to the new container GraphicsLayer that it paints into. When run inte ractively, hovering over the force-composited gray div should not cause other la yers to disappear. 1 A squashing Layer that becomes non-composited should correctly send a repaint in validation to the new container GraphicsLayer that it paints into. When run inte ractively, hovering over the force-composited gray div should not cause other la yers to disappear.
2 2
3 CASE 1, original layer tree: 3 CASE 1, original layer tree:
4 { 4 {
5 "name": "Content Root Layer", 5 "layers": [
6 "bounds": [800, 600],
7 "children": [
8 { 6 {
9 "name": "LayoutView #document", 7 "name": "LayoutView #document",
10 "bounds": [800, 600], 8 "bounds": [800, 600],
11 "contentsOpaque": true, 9 "contentsOpaque": true,
10 "drawsContent": true
11 },
12 {
13 "name": "Squashing Containment Layer",
14 "shouldFlattenTransform": false
15 },
16 {
17 "name": "LayoutBlockFlow (positioned) DIV id='forceComposited' class='comp osited underneath'",
18 "position": [60, 60],
19 "bounds": [100, 100],
20 "contentsOpaque": true,
12 "drawsContent": true, 21 "drawsContent": true,
13 "children": [ 22 "backgroundColor": "#808080"
14 { 23 },
15 "name": "Squashing Containment Layer", 24 {
16 "shouldFlattenTransform": false, 25 "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positione d) DIV id='A' class='overlap1')",
17 "children": [ 26 "position": [140, 140],
18 { 27 "bounds": [260, 260],
19 "name": "LayoutBlockFlow (positioned) DIV id='forceComposited' cla ss='composited underneath'", 28 "drawsContent": true
20 "position": [60, 60],
21 "bounds": [100, 100],
22 "contentsOpaque": true,
23 "drawsContent": true,
24 "backgroundColor": "#808080"
25 },
26 {
27 "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (p ositioned) DIV id='A' class='overlap1')",
28 "position": [140, 140],
29 "bounds": [260, 260],
30 "drawsContent": true
31 }
32 ]
33 }
34 ]
35 } 29 }
36 ] 30 ]
37 } 31 }
38 CASE 2, The original composited layer is no longer composited, which then also r emoves all squashing layers. The important point is that there should be an appr opriate repaint to the root GraphicsLayer: 32 CASE 2, The original composited layer is no longer composited, which then also r emoves all squashing layers. The important point is that there should be an appr opriate repaint to the root GraphicsLayer:
39 { 33 {
40 "name": "Content Root Layer", 34 "layers": [
41 "bounds": [800, 600],
42 "children": [
43 { 35 {
44 "name": "LayoutView #document", 36 "name": "LayoutView #document",
45 "bounds": [800, 600], 37 "bounds": [800, 600],
46 "contentsOpaque": true, 38 "contentsOpaque": true,
47 "drawsContent": true, 39 "drawsContent": true,
48 "paintInvalidations": [ 40 "paintInvalidations": [
49 { 41 {
50 "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'", 42 "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'",
51 "rect": [300, 300, 100, 100], 43 "rect": [300, 300, 100, 100],
52 "reason": "compositing update" 44 "reason": "compositing update"
(...skipping 29 matching lines...) Expand all
82 "object": "LayoutBlockFlow (positioned) DIV id='B' class='overlap2'", 74 "object": "LayoutBlockFlow (positioned) DIV id='B' class='overlap2'",
83 "reason": "compositing update" 75 "reason": "compositing update"
84 }, 76 },
85 { 77 {
86 "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'", 78 "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'",
87 "reason": "compositing update" 79 "reason": "compositing update"
88 } 80 }
89 ] 81 ]
90 } 82 }
91 83
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698