Upstream version 5.34.92.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 2
12         (GraphicsLayer
13           (bounds 400.00 200.00)
14           (contentsOpaque 1)
15           (children 1
16             (GraphicsLayer
17               (bounds 50.00 50.00)
18               (contentsOpaque 1)
19             )
20           )
21         )
22         (GraphicsLayer
23           (position 100.00 50.00)
24           (bounds 200.00 4000.00)
25           (contentsOpaque 1)
26         )
27       )
28     )
29   )
30 )
31 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:
32 (GraphicsLayer
33   (bounds 785.00 4050.00)
34   (children 1
35     (GraphicsLayer
36       (bounds 785.00 4050.00)
37       (contentsOpaque 1)
38       (drawsContent 1)
39       (children 2
40         (GraphicsLayer
41           (position 0.00 80.00)
42           (bounds 400.00 200.00)
43           (contentsOpaque 1)
44           (children 1
45             (GraphicsLayer
46               (bounds 50.00 50.00)
47               (contentsOpaque 1)
48             )
49           )
50         )
51         (GraphicsLayer
52           (position 100.00 50.00)
53           (bounds 200.00 4000.00)
54           (contentsOpaque 1)
55         )
56       )
57     )
58   )
59 )
60