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