| OLD | NEW |
| 1 { | 1 { |
| 2 "name": "Content Root Layer", |
| 2 "bounds": [800, 600], | 3 "bounds": [800, 600], |
| 3 "children": [ | 4 "children": [ |
| 4 { | 5 { |
| 6 "name": "LayoutView #document", |
| 5 "bounds": [800, 600], | 7 "bounds": [800, 600], |
| 6 "contentsOpaque": true, | 8 "contentsOpaque": true, |
| 7 "drawsContent": true, | 9 "drawsContent": true, |
| 8 "children": [ | 10 "children": [ |
| 9 { | 11 { |
| 12 "name": "LayoutBlockFlow DIV class='container'", |
| 10 "position": [8, 8], | 13 "position": [8, 8], |
| 11 "bounds": [308, 208], | 14 "bounds": [308, 208], |
| 12 "shouldFlattenTransform": false, | 15 "shouldFlattenTransform": false, |
| 13 "drawsContent": true, | 16 "drawsContent": true, |
| 17 "backgroundColor": "#00FF007F", |
| 14 "children": [ | 18 "children": [ |
| 15 { | 19 { |
| 20 "name": "Scrolling Layer", |
| 16 "position": [4, 4], | 21 "position": [4, 4], |
| 17 "bounds": [285, 200], | 22 "bounds": [285, 200], |
| 18 "shouldFlattenTransform": false, | 23 "shouldFlattenTransform": false, |
| 19 "children": [ | 24 "children": [ |
| 20 { | 25 { |
| 26 "name": "Scrolling Contents Layer", |
| 21 "bounds": [285, 530], | 27 "bounds": [285, 530], |
| 22 "drawsContent": true | 28 "drawsContent": true |
| 23 } | 29 } |
| 24 ] | 30 ] |
| 25 }, | 31 }, |
| 26 { | 32 { |
| 33 "name": "Overflow Controls Host Layer", |
| 27 "bounds": [308, 208], | 34 "bounds": [308, 208], |
| 28 "children": [ | 35 "children": [ |
| 29 { | 36 { |
| 37 "name": "Vertical Scrollbar Layer", |
| 30 "position": [289, 4], | 38 "position": [289, 4], |
| 31 "bounds": [15, 185] | 39 "bounds": [15, 185] |
| 32 }, | 40 }, |
| 33 { | 41 { |
| 42 "name": "Scroll Corner Layer", |
| 34 "position": [289, 189], | 43 "position": [289, 189], |
| 35 "bounds": [15, 15], | 44 "bounds": [15, 15], |
| 36 "drawsContent": true | 45 "drawsContent": true |
| 37 } | 46 } |
| 38 ] | 47 ] |
| 39 } | 48 } |
| 40 ] | 49 ] |
| 41 }, | 50 }, |
| 42 { | 51 { |
| 52 "name": "LayoutBlockFlow (positioned) DIV id='fixed'", |
| 43 "position": [50, 200], | 53 "position": [50, 200], |
| 44 "bounds": [200, 200], | 54 "bounds": [200, 200], |
| 45 "contentsOpaque": true, | 55 "contentsOpaque": true, |
| 46 "drawsContent": true, | 56 "drawsContent": true, |
| 47 "backgroundColor": "#008000" | 57 "backgroundColor": "#008000" |
| 48 }, | 58 }, |
| 49 { | 59 { |
| 50 "position": [4, 4], | 60 "name": "Ancestor Clipping Layer", |
| 61 "position": [12, 12], |
| 51 "bounds": [80, 80], | 62 "bounds": [80, 80], |
| 52 "shouldFlattenTransform": false, | 63 "shouldFlattenTransform": false, |
| 53 "hasScrollParent": true, | 64 "hasScrollParent": true, |
| 54 "children": [ | 65 "children": [ |
| 55 { | 66 { |
| 56 "position": [18, 18], | 67 "name": "LayoutBlockFlow (relative positioned) DIV class='box red'
", |
| 68 "position": [10, 10], |
| 57 "bounds": [100, 100], | 69 "bounds": [100, 100], |
| 58 "contentsOpaque": true, | |
| 59 "drawsContent": true, | 70 "drawsContent": true, |
| 60 "backgroundColor": "#FF0000" | 71 "backgroundColor": "#FF00007F" |
| 61 } | 72 } |
| 62 ] | 73 ] |
| 63 }, | 74 }, |
| 64 { | 75 { |
| 76 "name": "Squashing Containment Layer", |
| 65 "shouldFlattenTransform": false, | 77 "shouldFlattenTransform": false, |
| 66 "hasScrollParent": true, | 78 "hasScrollParent": true, |
| 67 "children": [ | 79 "children": [ |
| 68 { | 80 { |
| 81 "name": "LayoutBlockFlow (relative positioned) DIV class='box'", |
| 69 "position": [22, 102], | 82 "position": [22, 102], |
| 70 "bounds": [100, 100], | 83 "bounds": [100, 100], |
| 71 "contentsOpaque": true, | |
| 72 "drawsContent": true, | 84 "drawsContent": true, |
| 73 "backgroundColor": "#0000FF" | 85 "backgroundColor": "#0000FF7F" |
| 74 }, | 86 }, |
| 75 { | 87 { |
| 88 "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (r
elative positioned) DIV class='box')", |
| 76 "position": [22, 212], | 89 "position": [22, 212], |
| 77 "bounds": [100, 320], | 90 "bounds": [100, 320], |
| 78 "drawsContent": true | 91 "drawsContent": true |
| 79 } | 92 } |
| 80 ] | 93 ] |
| 81 } | 94 } |
| 82 ] | 95 ] |
| 83 } | 96 } |
| 84 ] | 97 ] |
| 85 } | 98 } |
| 86 | 99 |
| OLD | NEW |