| OLD | NEW |
| (Empty) |
| 1 A squashing RenderLayer that becomes non-composited should correctly send a repa
int invalidation to the new container GraphicsLayer that it paints into. When ru
n interactively, hovering over the force-composited gray div should not cause ot
her layers to disappear. | |
| 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, The original composited layer is no longer composited, which then also r
emoves all squashing layers. The important point is that there should be an appr
opriate repaint to the root GraphicsLayer: | |
| 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 (repaint rects | |
| 41 (rect 300.00 300.00 100.00 100.00) | |
| 42 (rect 220.00 220.00 100.00 100.00) | |
| 43 (rect 140.00 140.00 100.00 100.00) | |
| 44 (rect 60.00 60.00 100.00 100.00) | |
| 45 (rect 60.00 60.00 100.00 100.00) | |
| 46 ) | |
| 47 ) | |
| 48 ) | |
| 49 ) | |
| 50 | |
| OLD | NEW |