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