Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / squashing / squashed-repaints-expected.txt
1 Basic repaint test for squashed layers. The entire squashing layer should not need repainting when only a portion of it is invalidated. Test interactively by using --show-paint-rects and hovering over elements to change their color.
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, overlap1 changes color:
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       (children 1
41         (GraphicsLayer
42           (children 2
43             (GraphicsLayer
44               (position 60.00 60.00)
45               (bounds 100.00 100.00)
46               (contentsOpaque 1)
47               (drawsContent 1)
48               (backgroundColor #808080)
49             )
50             (GraphicsLayer
51               (position 140.00 140.00)
52               (bounds 260.00 260.00)
53               (drawsContent 1)
54               (repaint rects
55                 (rect 0.00 0.00 100.00 100.00)
56                 (rect 0.00 0.00 100.00 100.00)
57               )
58             )
59           )
60         )
61       )
62     )
63   )
64 )
65 CASE 3, overlap1 and overlap2 change color:
66 (GraphicsLayer
67   (bounds 800.00 600.00)
68   (children 1
69     (GraphicsLayer
70       (bounds 800.00 600.00)
71       (contentsOpaque 1)
72       (drawsContent 1)
73       (children 1
74         (GraphicsLayer
75           (children 2
76             (GraphicsLayer
77               (position 60.00 60.00)
78               (bounds 100.00 100.00)
79               (contentsOpaque 1)
80               (drawsContent 1)
81               (backgroundColor #808080)
82             )
83             (GraphicsLayer
84               (position 140.00 140.00)
85               (bounds 260.00 260.00)
86               (drawsContent 1)
87               (repaint rects
88                 (rect 80.00 80.00 100.00 100.00)
89                 (rect 80.00 80.00 100.00 100.00)
90                 (rect 0.00 0.00 100.00 100.00)
91                 (rect 0.00 0.00 100.00 100.00)
92               )
93             )
94           )
95         )
96       )
97     )
98   )
99 )
100 CASE 4, overlap2 and overlap3 change color:
101 (GraphicsLayer
102   (bounds 800.00 600.00)
103   (children 1
104     (GraphicsLayer
105       (bounds 800.00 600.00)
106       (contentsOpaque 1)
107       (drawsContent 1)
108       (children 1
109         (GraphicsLayer
110           (children 2
111             (GraphicsLayer
112               (position 60.00 60.00)
113               (bounds 100.00 100.00)
114               (contentsOpaque 1)
115               (drawsContent 1)
116               (backgroundColor #808080)
117             )
118             (GraphicsLayer
119               (position 140.00 140.00)
120               (bounds 260.00 260.00)
121               (drawsContent 1)
122               (repaint rects
123                 (rect 160.00 160.00 100.00 100.00)
124                 (rect 160.00 160.00 100.00 100.00)
125                 (rect 80.00 80.00 100.00 100.00)
126                 (rect 80.00 80.00 100.00 100.00)
127               )
128             )
129           )
130         )
131       )
132     )
133   )
134 )
135 CASE 5, overlap3 and overlap1 change color:
136 (GraphicsLayer
137   (bounds 800.00 600.00)
138   (children 1
139     (GraphicsLayer
140       (bounds 800.00 600.00)
141       (contentsOpaque 1)
142       (drawsContent 1)
143       (children 1
144         (GraphicsLayer
145           (children 2
146             (GraphicsLayer
147               (position 60.00 60.00)
148               (bounds 100.00 100.00)
149               (contentsOpaque 1)
150               (drawsContent 1)
151               (backgroundColor #808080)
152             )
153             (GraphicsLayer
154               (position 140.00 140.00)
155               (bounds 260.00 260.00)
156               (drawsContent 1)
157               (repaint rects
158                 (rect 160.00 160.00 100.00 100.00)
159                 (rect 160.00 160.00 100.00 100.00)
160                 (rect 0.00 0.00 100.00 100.00)
161                 (rect 0.00 0.00 100.00 100.00)
162               )
163             )
164           )
165         )
166       )
167     )
168   )
169 )
170