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

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

Issue 183833020: Re-land "Drop background color optimization for composited layers" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make Mac test bot pass 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
OLDNEW
1 A squashing RenderLayer that becomes non-composited should correctly send a repa int invalidation to the new container GraphicsLayer that it paints into. When ru n interactively, hovering over the force-composited gray div should not cause ot her layers to disappear. 1 A squashing RenderLayer that becomes non-composited should correctly send a repa int invalidation to the new container GraphicsLayer that it paints into. When ru n interactively, hovering over the force-composited gray div should not cause ot her layers to disappear.
2 2
3 CASE 1, original layer tree: 3 CASE 1, original layer tree:
4 (GraphicsLayer 4 (GraphicsLayer
5 (bounds 800.00 600.00) 5 (bounds 800.00 600.00)
6 (children 1 6 (children 1
7 (GraphicsLayer 7 (GraphicsLayer
8 (bounds 800.00 600.00) 8 (bounds 800.00 600.00)
9 (contentsOpaque 1) 9 (contentsOpaque 1)
10 (drawsContent 1) 10 (drawsContent 1)
11 (children 1 11 (children 1
12 (GraphicsLayer 12 (GraphicsLayer
13 (children 2 13 (children 2
14 (GraphicsLayer 14 (GraphicsLayer
15 (position 60.00 60.00) 15 (position 60.00 60.00)
16 (bounds 100.00 100.00) 16 (bounds 100.00 100.00)
17 (contentsOpaque 1) 17 (contentsOpaque 1)
18 (drawsContent 1)
19 (backgroundColor #808080)
18 ) 20 )
19 (GraphicsLayer 21 (GraphicsLayer
20 (position 140.00 140.00) 22 (position 140.00 140.00)
21 (bounds 260.00 260.00) 23 (bounds 260.00 260.00)
22 (drawsContent 1) 24 (drawsContent 1)
23 ) 25 )
24 ) 26 )
25 ) 27 )
26 ) 28 )
27 ) 29 )
28 ) 30 )
29 ) 31 )
30 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:
31 33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698