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

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

Issue 311813005: Issue repaints for RenderLayers that get new composited backings after (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merged. Created 6 years, 6 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)
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 (backgroundColor #D3D3D3) 62 (backgroundColor #D3D3D3)
63 ) 63 )
64 (GraphicsLayer 64 (GraphicsLayer
65 (children 2 65 (children 2
66 (GraphicsLayer 66 (GraphicsLayer
67 (position 0.00 200.00) 67 (position 0.00 200.00)
68 (bounds 200.00 100.00) 68 (bounds 200.00 100.00)
69 (contentsOpaque 1) 69 (contentsOpaque 1)
70 (drawsContent 1) 70 (drawsContent 1)
71 (backgroundColor #00FFFF) 71 (backgroundColor #00FFFF)
72 (repaint rects
73 (rect 0.00 0.00 200.00 100.00)
74 )
72 ) 75 )
73 (GraphicsLayer 76 (GraphicsLayer
74 (position 0.00 300.00) 77 (position 0.00 300.00)
75 (bounds 200.00 300.00) 78 (bounds 200.00 300.00)
76 (drawsContent 1) 79 (drawsContent 1)
80 (repaint rects
81 (rect 0.00 200.00 200.00 100.00)
82 (rect 0.00 100.00 200.00 100.00)
83 (rect 0.00 0.00 200.00 100.00)
84 )
77 ) 85 )
78 ) 86 )
79 ) 87 )
80 ) 88 )
81 ) 89 )
82 ) 90 )
83 ) 91 )
84 CASE 3, scrolling y to 120, no repaints expected: 92 CASE 3, scrolling y to 120, no repaints expected:
85 (GraphicsLayer 93 (GraphicsLayer
86 (bounds 785.00 1400.00) 94 (bounds 785.00 1400.00)
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 (backgroundColor #D3D3D3) 149 (backgroundColor #D3D3D3)
142 ) 150 )
143 (GraphicsLayer 151 (GraphicsLayer
144 (children 2 152 (children 2
145 (GraphicsLayer 153 (GraphicsLayer
146 (position 0.00 300.00) 154 (position 0.00 300.00)
147 (bounds 200.00 100.00) 155 (bounds 200.00 100.00)
148 (contentsOpaque 1) 156 (contentsOpaque 1)
149 (drawsContent 1) 157 (drawsContent 1)
150 (backgroundColor #00FF00) 158 (backgroundColor #00FF00)
159 (repaint rects
160 (rect 0.00 0.00 200.00 100.00)
161 )
151 ) 162 )
152 (GraphicsLayer 163 (GraphicsLayer
153 (position 0.00 400.00) 164 (position 0.00 400.00)
154 (bounds 200.00 300.00) 165 (bounds 200.00 300.00)
155 (drawsContent 1) 166 (drawsContent 1)
167 (repaint rects
168 (rect 0.00 200.00 200.00 100.00)
169 (rect 0.00 100.00 200.00 100.00)
170 (rect 0.00 0.00 200.00 100.00)
171 )
156 ) 172 )
157 ) 173 )
158 ) 174 )
159 ) 175 )
160 ) 176 )
161 ) 177 )
162 ) 178 )
163 179
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698