| 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 (positioned) DIV id='outer'", |
| 11 "position": [8, 8], |
| 12 "bounds": [300, 300], |
| 13 "shouldFlattenTransform": false, |
| 9 "drawsContent": true, | 14 "drawsContent": true, |
| 10 "children": [ | 15 "backgroundColor": "#0000FF" |
| 16 }, |
| 17 { |
| 18 "name": "Scrolling Layer", |
| 19 "bounds": [285, 285], |
| 20 "shouldFlattenTransform": false |
| 21 }, |
| 22 { |
| 23 "name": "Scrolling Contents Layer", |
| 24 "bounds": [650, 600], |
| 25 "contentsOpaque": true, |
| 26 "drawsContent": true |
| 27 }, |
| 28 { |
| 29 "name": "Overflow Controls Host Layer", |
| 30 "bounds": [300, 300] |
| 31 }, |
| 32 { |
| 33 "name": "Horizontal Scrollbar Layer", |
| 34 "position": [0, 285], |
| 35 "bounds": [285, 15], |
| 36 "paintInvalidations": [ |
| 11 { | 37 { |
| 12 "name": "LayoutBlockFlow (positioned) DIV id='outer'", | 38 "object": "Horizontal Scrollbar Layer", |
| 13 "position": [8, 8], | 39 "rect": [0, 0, 285, 15], |
| 14 "bounds": [300, 300], | 40 "reason": "full" |
| 15 "shouldFlattenTransform": false, | 41 } |
| 16 "drawsContent": true, | 42 ] |
| 17 "backgroundColor": "#0000FF", | 43 }, |
| 18 "children": [ | 44 { |
| 19 { | 45 "name": "Vertical Scrollbar Layer", |
| 20 "name": "Scrolling Layer", | 46 "position": [285, 0], |
| 21 "bounds": [285, 285], | 47 "bounds": [15, 285] |
| 22 "shouldFlattenTransform": false, | 48 }, |
| 23 "children": [ | 49 { |
| 24 { | 50 "name": "Scroll Corner Layer", |
| 25 "name": "Scrolling Contents Layer", | 51 "position": [285, 285], |
| 26 "bounds": [650, 600], | 52 "bounds": [15, 15], |
| 27 "contentsOpaque": true, | 53 "drawsContent": true |
| 28 "drawsContent": true | 54 }, |
| 29 } | 55 { |
| 30 ] | 56 "name": "LayoutBlockFlow (positioned) DIV id='container'", |
| 31 }, | 57 "position": [-307, 8], |
| 32 { | 58 "bounds": [600, 600], |
| 33 "name": "Overflow Controls Host Layer", | 59 "contentsOpaque": true, |
| 34 "bounds": [300, 300], | 60 "drawsContent": true, |
| 35 "children": [ | 61 "backgroundColor": "#FF0000", |
| 36 { | 62 "paintInvalidations": [ |
| 37 "name": "Horizontal Scrollbar Layer", | |
| 38 "position": [0, 285], | |
| 39 "bounds": [285, 15], | |
| 40 "paintInvalidations": [ | |
| 41 { | |
| 42 "object": "Horizontal Scrollbar Layer", | |
| 43 "rect": [0, 0, 285, 15], | |
| 44 "reason": "full" | |
| 45 } | |
| 46 ] | |
| 47 }, | |
| 48 { | |
| 49 "name": "Vertical Scrollbar Layer", | |
| 50 "position": [285, 0], | |
| 51 "bounds": [15, 285] | |
| 52 }, | |
| 53 { | |
| 54 "name": "Scroll Corner Layer", | |
| 55 "position": [285, 285], | |
| 56 "bounds": [15, 15], | |
| 57 "drawsContent": true | |
| 58 } | |
| 59 ] | |
| 60 } | |
| 61 ] | |
| 62 }, | |
| 63 { | 63 { |
| 64 "name": "LayoutBlockFlow (positioned) DIV id='container'", | 64 "object": "LayoutBlockFlow DIV id='inner'", |
| 65 "position": [-307, 8], | 65 "rect": [0, 0, 600, 600], |
| 66 "bounds": [600, 600], | 66 "reason": "style change" |
| 67 "contentsOpaque": true, | |
| 68 "drawsContent": true, | |
| 69 "backgroundColor": "#FF0000", | |
| 70 "paintInvalidations": [ | |
| 71 { | |
| 72 "object": "LayoutBlockFlow DIV id='inner'", | |
| 73 "rect": [0, 0, 600, 600], | |
| 74 "reason": "style change" | |
| 75 } | |
| 76 ] | |
| 77 } | 67 } |
| 78 ] | 68 ] |
| 79 } | 69 } |
| 80 ], | 70 ], |
| 81 "objectPaintInvalidations": [ | 71 "objectPaintInvalidations": [ |
| 82 { | 72 { |
| 83 "object": "LayoutBlockFlow DIV id='inner'", | 73 "object": "LayoutBlockFlow DIV id='inner'", |
| 84 "reason": "style change" | 74 "reason": "style change" |
| 85 } | 75 } |
| 86 ] | 76 ] |
| 87 } | 77 } |
| 88 | 78 |
| OLD | NEW |