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

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

Issue 183763024: Revert 168245 "Drop background color optimization for composited..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 9 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 (GraphicsLayer 6 (GraphicsLayer
7 (bounds 785.00 1400.00) 7 (bounds 785.00 1400.00)
8 (children 1 8 (children 1
9 (GraphicsLayer 9 (GraphicsLayer
10 (bounds 785.00 1400.00) 10 (bounds 785.00 1400.00)
11 (contentsOpaque 1) 11 (contentsOpaque 1)
12 (drawsContent 1) 12 (drawsContent 1)
13 (children 2 13 (children 2
14 (GraphicsLayer 14 (GraphicsLayer
15 (position 100.00 150.00) 15 (position 100.00 150.00)
16 (bounds 300.00 300.00) 16 (bounds 300.00 300.00)
17 (contentsOpaque 1) 17 (contentsOpaque 1)
18 (drawsContent 1)
19 (backgroundColor #D3D3D3)
20 ) 18 )
21 (GraphicsLayer 19 (GraphicsLayer
22 (children 2 20 (children 2
23 (GraphicsLayer 21 (GraphicsLayer
24 (position 0.00 100.00) 22 (position 0.00 100.00)
25 (bounds 200.00 100.00) 23 (bounds 200.00 100.00)
26 (contentsOpaque 1) 24 (contentsOpaque 1)
27 (drawsContent 1)
28 (backgroundColor #00FF00)
29 ) 25 )
30 (GraphicsLayer 26 (GraphicsLayer
31 (position 0.00 200.00) 27 (position 0.00 200.00)
32 (bounds 200.00 300.00) 28 (bounds 200.00 300.00)
33 (drawsContent 1) 29 (drawsContent 1)
34 ) 30 )
35 ) 31 )
36 ) 32 )
37 ) 33 )
38 ) 34 )
39 ) 35 )
40 ) 36 )
41 CASE 2, scrolling y to 80, new layers will be squashed, so things repaint: 37 CASE 2, scrolling y to 80, new layers will be squashed, so things repaint:
42 (GraphicsLayer 38 (GraphicsLayer
43 (bounds 785.00 1400.00) 39 (bounds 785.00 1400.00)
44 (children 1 40 (children 1
45 (GraphicsLayer 41 (GraphicsLayer
46 (bounds 785.00 1400.00) 42 (bounds 785.00 1400.00)
47 (contentsOpaque 1) 43 (contentsOpaque 1)
48 (drawsContent 1) 44 (drawsContent 1)
49 (repaint rects 45 (repaint rects
50 (rect 0.00 100.00 200.00 100.00) 46 (rect 0.00 100.00 200.00 100.00)
51 (rect 0.00 200.00 200.00 100.00) 47 (rect 0.00 200.00 200.00 100.00)
52 ) 48 )
53 (children 2 49 (children 2
54 (GraphicsLayer 50 (GraphicsLayer
55 (position 100.00 230.00) 51 (position 100.00 230.00)
56 (bounds 300.00 300.00) 52 (bounds 300.00 300.00)
57 (contentsOpaque 1) 53 (contentsOpaque 1)
58 (drawsContent 1)
59 (backgroundColor #D3D3D3)
60 ) 54 )
61 (GraphicsLayer 55 (GraphicsLayer
62 (children 2 56 (children 2
63 (GraphicsLayer 57 (GraphicsLayer
64 (position 0.00 200.00) 58 (position 0.00 200.00)
65 (bounds 200.00 100.00) 59 (bounds 200.00 100.00)
66 (contentsOpaque 1) 60 (contentsOpaque 1)
67 (drawsContent 1)
68 (backgroundColor #00FFFF)
69 ) 61 )
70 (GraphicsLayer 62 (GraphicsLayer
71 (position 0.00 300.00) 63 (position 0.00 300.00)
72 (bounds 200.00 300.00) 64 (bounds 200.00 300.00)
73 (drawsContent 1) 65 (drawsContent 1)
74 ) 66 )
75 ) 67 )
76 ) 68 )
77 ) 69 )
78 ) 70 )
79 ) 71 )
80 ) 72 )
81 CASE 3, scrolling y to 120, no repaints expected: 73 CASE 3, scrolling y to 120, no repaints expected:
82 (GraphicsLayer 74 (GraphicsLayer
83 (bounds 785.00 1400.00) 75 (bounds 785.00 1400.00)
84 (children 1 76 (children 1
85 (GraphicsLayer 77 (GraphicsLayer
86 (bounds 785.00 1400.00) 78 (bounds 785.00 1400.00)
87 (contentsOpaque 1) 79 (contentsOpaque 1)
88 (drawsContent 1) 80 (drawsContent 1)
89 (children 2 81 (children 2
90 (GraphicsLayer 82 (GraphicsLayer
91 (position 100.00 270.00) 83 (position 100.00 270.00)
92 (bounds 300.00 300.00) 84 (bounds 300.00 300.00)
93 (contentsOpaque 1) 85 (contentsOpaque 1)
94 (drawsContent 1)
95 (backgroundColor #D3D3D3)
96 ) 86 )
97 (GraphicsLayer 87 (GraphicsLayer
98 (children 2 88 (children 2
99 (GraphicsLayer 89 (GraphicsLayer
100 (position 0.00 200.00) 90 (position 0.00 200.00)
101 (bounds 200.00 100.00) 91 (bounds 200.00 100.00)
102 (contentsOpaque 1) 92 (contentsOpaque 1)
103 (drawsContent 1)
104 (backgroundColor #00FFFF)
105 ) 93 )
106 (GraphicsLayer 94 (GraphicsLayer
107 (position 0.00 300.00) 95 (position 0.00 300.00)
108 (bounds 200.00 300.00) 96 (bounds 200.00 300.00)
109 (drawsContent 1) 97 (drawsContent 1)
110 ) 98 )
111 ) 99 )
112 ) 100 )
113 ) 101 )
114 ) 102 )
115 ) 103 )
116 ) 104 )
117 CASE 4, scrolling y to 170 new layers will be squashed, so things repaint: 105 CASE 4, scrolling y to 170 new layers will be squashed, so things repaint:
118 (GraphicsLayer 106 (GraphicsLayer
119 (bounds 785.00 1400.00) 107 (bounds 785.00 1400.00)
120 (children 1 108 (children 1
121 (GraphicsLayer 109 (GraphicsLayer
122 (bounds 785.00 1400.00) 110 (bounds 785.00 1400.00)
123 (contentsOpaque 1) 111 (contentsOpaque 1)
124 (drawsContent 1) 112 (drawsContent 1)
125 (repaint rects 113 (repaint rects
126 (rect 0.00 200.00 200.00 100.00) 114 (rect 0.00 200.00 200.00 100.00)
127 (rect 0.00 300.00 200.00 100.00) 115 (rect 0.00 300.00 200.00 100.00)
128 ) 116 )
129 (children 2 117 (children 2
130 (GraphicsLayer 118 (GraphicsLayer
131 (position 100.00 320.00) 119 (position 100.00 320.00)
132 (bounds 300.00 300.00) 120 (bounds 300.00 300.00)
133 (contentsOpaque 1) 121 (contentsOpaque 1)
134 (drawsContent 1)
135 (backgroundColor #D3D3D3)
136 ) 122 )
137 (GraphicsLayer 123 (GraphicsLayer
138 (children 2 124 (children 2
139 (GraphicsLayer 125 (GraphicsLayer
140 (position 0.00 300.00) 126 (position 0.00 300.00)
141 (bounds 200.00 100.00) 127 (bounds 200.00 100.00)
142 (contentsOpaque 1) 128 (contentsOpaque 1)
143 (drawsContent 1)
144 (backgroundColor #00FF00)
145 ) 129 )
146 (GraphicsLayer 130 (GraphicsLayer
147 (position 0.00 400.00) 131 (position 0.00 400.00)
148 (bounds 200.00 300.00) 132 (bounds 200.00 300.00)
149 (drawsContent 1) 133 (drawsContent 1)
150 ) 134 )
151 ) 135 )
152 ) 136 )
153 ) 137 )
154 ) 138 )
155 ) 139 )
156 ) 140 )
157 141
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698