OLD | NEW |
1 A squashing Layer that becomes non-composited should correctly send a repaint in
validation to the new container GraphicsLayer that it paints into. When run inte
ractively, hovering over the force-composited gray div should not cause other la
yers to disappear. | 1 A squashing Layer that becomes non-composited should correctly send a repaint in
validation to the new container GraphicsLayer that it paints into. When run inte
ractively, hovering over the force-composited gray div should not cause other la
yers to disappear. |
2 | 2 |
3 CASE 1, original layer tree: | 3 CASE 1, original layer tree: |
4 { | 4 { |
5 "bounds": [800, 600], | 5 "bounds": [800, 600], |
6 "children": [ | 6 "children": [ |
7 { | 7 { |
8 "bounds": [800, 600], | 8 "bounds": [800, 600], |
9 "contentsOpaque": true, | 9 "contentsOpaque": true, |
10 "drawsContent": true, | 10 "drawsContent": true, |
(...skipping 22 matching lines...) Expand all Loading... |
33 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 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: |
34 { | 34 { |
35 "bounds": [800, 600], | 35 "bounds": [800, 600], |
36 "children": [ | 36 "children": [ |
37 { | 37 { |
38 "bounds": [800, 600], | 38 "bounds": [800, 600], |
39 "contentsOpaque": true, | 39 "contentsOpaque": true, |
40 "drawsContent": true, | 40 "drawsContent": true, |
41 "paintInvalidations": [ | 41 "paintInvalidations": [ |
42 { | 42 { |
43 "object": "LayoutBlockFlow (positioned) DIV id='A' class='overlap1'", | 43 "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'", |
44 "rect": [140, 140, 100, 100], | 44 "rect": [300, 300, 100, 100], |
45 "reason": "location change" | 45 "reason": "location change" |
46 }, | 46 }, |
47 { | 47 { |
48 "object": "LayoutBlockFlow (positioned) DIV id='B' class='overlap2'", | 48 "object": "LayoutBlockFlow (positioned) DIV id='B' class='overlap2'", |
49 "rect": [220, 220, 100, 100], | 49 "rect": [220, 220, 100, 100], |
50 "reason": "location change" | 50 "reason": "location change" |
51 }, | 51 }, |
52 { | 52 { |
53 "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'", | 53 "object": "LayoutBlockFlow (positioned) DIV id='A' class='overlap1'", |
54 "rect": [300, 300, 100, 100], | 54 "rect": [140, 140, 100, 100], |
55 "reason": "location change" | 55 "reason": "location change" |
56 }, | 56 }, |
57 { | 57 { |
58 "object": "LayoutBlockFlow (positioned) DIV id='forceComposited' class
='underneath'", | 58 "object": "LayoutBlockFlow (positioned) DIV id='forceComposited' class
='underneath'", |
59 "rect": [60, 60, 100, 100], | 59 "rect": [60, 60, 100, 100], |
60 "reason": "location change" | 60 "reason": "location change" |
61 } | 61 } |
62 ] | 62 ] |
63 } | 63 } |
64 ] | 64 ] |
65 } | 65 } |
66 | 66 |
OLD | NEW |