Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / squashing / squash-above-fixed-1-expected.txt
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-out of the squashing layer when they change overlapping status with respect to the composited layer underneath.
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 correct (i.e. scrolls properly) when the squashing layer is on top of a fixed-position composited layer.
4
5 CASE 1, original layer tree:
6 (GraphicsLayer
7   (bounds 785.00 1400.00)
8   (children 1
9     (GraphicsLayer
10       (bounds 785.00 1400.00)
11       (contentsOpaque 1)
12       (drawsContent 1)
13       (children 2
14         (GraphicsLayer
15           (position 100.00 150.00)
16           (bounds 300.00 300.00)
17           (contentsOpaque 1)
18         )
19         (GraphicsLayer
20           (children 2
21             (GraphicsLayer
22               (position 0.00 100.00)
23               (bounds 200.00 100.00)
24               (contentsOpaque 1)
25             )
26             (GraphicsLayer
27               (position 0.00 200.00)
28               (bounds 200.00 300.00)
29               (drawsContent 1)
30             )
31           )
32         )
33       )
34     )
35   )
36 )
37 CASE 2, scrolling y to 80, new layers will be squashed, so things repaint:
38 (GraphicsLayer
39   (bounds 785.00 1400.00)
40   (children 1
41     (GraphicsLayer
42       (bounds 785.00 1400.00)
43       (contentsOpaque 1)
44       (drawsContent 1)
45       (repaint rects
46         (rect 0.00 100.00 200.00 100.00)
47         (rect 0.00 200.00 200.00 100.00)
48       )
49       (children 2
50         (GraphicsLayer
51           (position 100.00 230.00)
52           (bounds 300.00 300.00)
53           (contentsOpaque 1)
54         )
55         (GraphicsLayer
56           (children 2
57             (GraphicsLayer
58               (position 0.00 200.00)
59               (bounds 200.00 100.00)
60               (contentsOpaque 1)
61             )
62             (GraphicsLayer
63               (position 0.00 300.00)
64               (bounds 200.00 300.00)
65               (drawsContent 1)
66               (repaint rects
67               )
68             )
69           )
70         )
71       )
72     )
73   )
74 )
75 CASE 3, scrolling y to 120, no repaints expected:
76 (GraphicsLayer
77   (bounds 785.00 1400.00)
78   (children 1
79     (GraphicsLayer
80       (bounds 785.00 1400.00)
81       (contentsOpaque 1)
82       (drawsContent 1)
83       (children 2
84         (GraphicsLayer
85           (position 100.00 270.00)
86           (bounds 300.00 300.00)
87           (contentsOpaque 1)
88         )
89         (GraphicsLayer
90           (children 2
91             (GraphicsLayer
92               (position 0.00 200.00)
93               (bounds 200.00 100.00)
94               (contentsOpaque 1)
95             )
96             (GraphicsLayer
97               (position 0.00 300.00)
98               (bounds 200.00 300.00)
99               (drawsContent 1)
100               (repaint rects
101                 (rect 0.00 0.00 200.00 300.00)
102               )
103             )
104           )
105         )
106       )
107     )
108   )
109 )
110 CASE 4, scrolling y to 170 new layers will be squashed, so things repaint:
111 (GraphicsLayer
112   (bounds 785.00 1400.00)
113   (children 1
114     (GraphicsLayer
115       (bounds 785.00 1400.00)
116       (contentsOpaque 1)
117       (drawsContent 1)
118       (repaint rects
119         (rect 0.00 200.00 200.00 100.00)
120         (rect 0.00 300.00 200.00 100.00)
121       )
122       (children 2
123         (GraphicsLayer
124           (position 100.00 320.00)
125           (bounds 300.00 300.00)
126           (contentsOpaque 1)
127         )
128         (GraphicsLayer
129           (children 2
130             (GraphicsLayer
131               (position 0.00 300.00)
132               (bounds 200.00 100.00)
133               (contentsOpaque 1)
134             )
135             (GraphicsLayer
136               (position 0.00 400.00)
137               (bounds 200.00 300.00)
138               (drawsContent 1)
139               (repaint rects
140               )
141             )
142           )
143         )
144       )
145     )
146   )
147 )
148