Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / squashing / squashed-layer-loses-graphicslayer-expected.txt
blob5038d4c1fb26841405e9b0e354549e0a488605ff
1 A squashing Layer that becomes non-composited should correctly send a repaint invalidation to the new container GraphicsLayer that it paints into. When run interactively, hovering over the force-composited gray div should not cause other layers to disappear.
3 CASE 1, original layer tree:
5   "bounds": [800, 600],
6   "children": [
7     {
8       "bounds": [800, 600],
9       "contentsOpaque": true,
10       "drawsContent": true,
11       "children": [
12         {
13           "shouldFlattenTransform": false,
14           "children": [
15             {
16               "position": [60, 60],
17               "bounds": [100, 100],
18               "contentsOpaque": true,
19               "drawsContent": true,
20               "backgroundColor": "#808080"
21             },
22             {
23               "position": [140, 140],
24               "bounds": [260, 260],
25               "drawsContent": true
26             }
27           ]
28         }
29       ]
30     }
31   ]
33 CASE 2, The original composited layer is no longer composited, which then also removes all squashing layers. The important point is that there should be an appropriate repaint to the root GraphicsLayer:
35   "bounds": [800, 600],
36   "children": [
37     {
38       "bounds": [800, 600],
39       "contentsOpaque": true,
40       "drawsContent": true,
41       "repaintRects": [
42         [300, 300, 100, 100],
43         [220, 220, 100, 100],
44         [140, 140, 100, 100],
45         [60, 60, 100, 100]
46       ]
47     }
48   ]