| 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 20 matching lines...) Expand all Loading... |
| 31 ] | 31 ] |
| 32 } | 32 } |
| 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 "repaintRects": [ | 41 "paintInvalidations": [ |
| 42 [300, 300, 100, 100], | 42 { |
| 43 [220, 220, 100, 100], | 43 "object": "LayoutBlockFlow (positioned) DIV id='A' class='overlap1'", |
| 44 [140, 140, 100, 100], | 44 "rect": [140, 140, 100, 100], |
| 45 [60, 60, 100, 100] | 45 "reason": "location change" |
| 46 }, |
| 47 { |
| 48 "object": "LayoutBlockFlow (positioned) DIV id='B' class='overlap2'", |
| 49 "rect": [220, 220, 100, 100], |
| 50 "reason": "location change" |
| 51 }, |
| 52 { |
| 53 "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'", |
| 54 "rect": [300, 300, 100, 100], |
| 55 "reason": "location change" |
| 56 }, |
| 57 { |
| 58 "object": "LayoutBlockFlow (positioned) DIV id='forceComposited' class
='underneath'", |
| 59 "rect": [60, 60, 100, 100], |
| 60 "reason": "location change" |
| 61 } |
| 46 ] | 62 ] |
| 47 } | 63 } |
| 48 ] | 64 ] |
| 49 } | 65 } |
| 50 | 66 |
| OLD | NEW |