OLD | NEW |
1 This scenario verifies that the green "container" element and lime "innerScrolli
ng" element scroll properly even though there is a blue fixed-position element l
ayered in between them. | 1 This scenario verifies that the green "container" element and lime "innerScrolli
ng" element scroll properly even though there is a blue fixed-position element l
ayered in between them. |
2 | 2 |
3 The catch is that the squashing requirements should be computed in correct paint
order, so that the green container does not accidentally position itself with r
espect to the wrong layer and not scroll. | 3 The catch is that the squashing requirements should be computed in correct paint
order, so that the green container does not accidentally position itself with r
espect to the wrong layer and not scroll. |
4 | 4 |
5 CASE 1, original layer tree: | 5 CASE 1, original layer tree: |
6 (GraphicsLayer | 6 (GraphicsLayer |
7 (bounds 785.00 4100.00) | 7 (bounds 785.00 4100.00) |
8 (children 1 | 8 (children 1 |
9 (GraphicsLayer | 9 (GraphicsLayer |
10 (bounds 785.00 4100.00) | 10 (bounds 785.00 4100.00) |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 (contentsOpaque 1) | 102 (contentsOpaque 1) |
103 (drawsContent 1) | 103 (drawsContent 1) |
104 (backgroundColor #808080) | 104 (backgroundColor #808080) |
105 ) | 105 ) |
106 (GraphicsLayer | 106 (GraphicsLayer |
107 (position 100.00 100.00) | 107 (position 100.00 100.00) |
108 (bounds 200.00 4000.00) | 108 (bounds 200.00 4000.00) |
109 (drawsContent 1) | 109 (drawsContent 1) |
110 (backgroundColor #008000) | 110 (backgroundColor #008000) |
111 (repaint rects | 111 (repaint rects |
| 112 (rect 100.00 0.00 100.00 100.00) |
112 ) | 113 ) |
113 (children 1 | 114 (children 1 |
114 (GraphicsLayer | 115 (GraphicsLayer |
115 (position 0.00 160.00) | 116 (position 0.00 160.00) |
116 (bounds 200.00 100.00) | 117 (bounds 200.00 100.00) |
117 (contentsOpaque 1) | 118 (contentsOpaque 1) |
118 (drawsContent 1) | 119 (drawsContent 1) |
119 (backgroundColor #0000FF) | 120 (backgroundColor #0000FF) |
120 ) | 121 ) |
121 ) | 122 ) |
122 ) | 123 ) |
123 ) | 124 ) |
124 ) | 125 ) |
125 ) | 126 ) |
126 ) | 127 ) |
127 | 128 |
OLD | NEW |