Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / squashing / squashed-layer-loses-graphicslayer-expected.txt
1 A squashing RenderLayer that becomes non-composited should correctly send a repaint invalidation to the new container GraphicsLayer that it paints into. When run interactively, hovering over the force-composited gray div should not cause other layers to disappear.
2
3 CASE 1, original layer tree:
4 (GraphicsLayer
5   (bounds 800.00 600.00)
6   (children 1
7     (GraphicsLayer
8       (bounds 800.00 600.00)
9       (contentsOpaque 1)
10       (drawsContent 1)
11       (children 1
12         (GraphicsLayer
13           (children 2
14             (GraphicsLayer
15               (position 60.00 60.00)
16               (bounds 100.00 100.00)
17               (contentsOpaque 1)
18               (drawsContent 1)
19               (backgroundColor #808080)
20             )
21             (GraphicsLayer
22               (position 140.00 140.00)
23               (bounds 260.00 260.00)
24               (drawsContent 1)
25             )
26           )
27         )
28       )
29     )
30   )
31 )
32 CASE 2, The original composited layer is no longer composited, which then also removes all squashing layers. The important point is that there should be an appropriate repaint to the root GraphicsLayer:
33 (GraphicsLayer
34   (bounds 800.00 600.00)
35   (children 1
36     (GraphicsLayer
37       (bounds 800.00 600.00)
38       (contentsOpaque 1)
39       (drawsContent 1)
40       (repaint rects
41         (rect 60.00 60.00 100.00 100.00)
42         (rect 60.00 60.00 100.00 100.00)
43         (rect 140.00 140.00 100.00 100.00)
44         (rect 220.00 220.00 100.00 100.00)
45         (rect 300.00 300.00 100.00 100.00)
46       )
47     )
48   )
49 )
50