Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / squashing / squash-above-fixed-2-expected.txt
1 This scenario verifies that the cyan "container" element scrolls properly with squashing enabled.
2
3 CASE 1, original layer tree:
4 (GraphicsLayer
5   (bounds 785.00 4050.00)
6   (children 1
7     (GraphicsLayer
8       (bounds 785.00 4050.00)
9       (contentsOpaque 1)
10       (drawsContent 1)
11       (children 1
12         (GraphicsLayer
13           (bounds 400.00 200.00)
14           (contentsOpaque 1)
15           (drawsContent 1)
16           (backfaceVisibility hidden)
17           (backgroundColor #0000FF)
18           (children 1
19             (GraphicsLayer
20               (children 2
21                 (GraphicsLayer
22                   (bounds 50.00 50.00)
23                   (contentsOpaque 1)
24                   (drawsContent 1)
25                   (backfaceVisibility hidden)
26                   (backgroundColor #FF0000)
27                 )
28                 (GraphicsLayer
29                   (position 100.00 50.00)
30                   (bounds 200.00 4000.00)
31                   (drawsContent 1)
32                 )
33               )
34             )
35           )
36         )
37       )
38     )
39   )
40 )
41 CASE 2, scrolling y to 80, the "container" element should remain positioned with respect to the scrolled document, the fixed-pos layer compensates for the new scroll position:
42 (GraphicsLayer
43   (bounds 785.00 4050.00)
44   (children 1
45     (GraphicsLayer
46       (bounds 785.00 4050.00)
47       (contentsOpaque 1)
48       (drawsContent 1)
49       (children 1
50         (GraphicsLayer
51           (position 0.00 80.00)
52           (bounds 400.00 200.00)
53           (contentsOpaque 1)
54           (drawsContent 1)
55           (backfaceVisibility hidden)
56           (backgroundColor #0000FF)
57           (children 1
58             (GraphicsLayer
59               (children 2
60                 (GraphicsLayer
61                   (bounds 50.00 50.00)
62                   (contentsOpaque 1)
63                   (drawsContent 1)
64                   (backfaceVisibility hidden)
65                   (backgroundColor #FF0000)
66                 )
67                 (GraphicsLayer
68                   (position 100.00 -30.00)
69                   (bounds 200.00 4000.00)
70                   (drawsContent 1)
71                 )
72               )
73             )
74           )
75         )
76       )
77     )
78   )
79 )
80