| OLD | NEW |
| 1 { | 1 { |
| 2 "layers": [ | 2 "layers": [ |
| 3 { | 3 { |
| 4 "name": "LayoutView #document", | 4 "name": "LayoutView #document", |
| 5 "bounds": [800, 600], | 5 "bounds": [800, 600], |
| 6 "contentsOpaque": true, | 6 "contentsOpaque": true, |
| 7 "drawsContent": true | 7 "drawsContent": true |
| 8 }, | 8 }, |
| 9 { | 9 { |
| 10 "name": "LayoutBlockFlow DIV id='scroller'", | 10 "name": "LayoutBlockFlow DIV id='target'", |
| 11 "position": [8, 8], | 11 "position": [-2, -2], |
| 12 "bounds": [200, 200], | 12 "bounds": [220, 220], |
| 13 "shouldFlattenTransform": false, | 13 "shouldFlattenTransform": false, |
| 14 "drawsContent": true, | 14 "drawsContent": true, |
| 15 "backgroundColor": "#008000", | 15 "backgroundColor": "#0000FF", |
| 16 "paintInvalidations": [ | 16 "paintInvalidations": [ |
| 17 { | 17 { |
| 18 "object": "LayoutBlockFlow DIV id='scroller'", | 18 "object": "LayoutBlockFlow DIV id='target'", |
| 19 "rect": [0, 0, 200, 200], | 19 "rect": [0, 0, 220, 220], |
| 20 "reason": "style change" | 20 "reason": "style change" |
| 21 } | 21 } |
| 22 ] | 22 ] |
| 23 }, | 23 }, |
| 24 { | 24 { |
| 25 "name": "Scrolling Layer", | 25 "name": "Scrolling Layer", |
| 26 "position": [10, 10], |
| 26 "bounds": [185, 185], | 27 "bounds": [185, 185], |
| 27 "shouldFlattenTransform": false | 28 "shouldFlattenTransform": false |
| 28 }, | 29 }, |
| 29 { | 30 { |
| 30 "name": "Scrolling Contents Layer", | 31 "name": "Scrolling Contents Layer", |
| 31 "bounds": [185, 300], | 32 "bounds": [185, 2000], |
| 32 "contentsOpaque": true, | 33 "contentsOpaque": true, |
| 33 "drawsContent": true, | 34 "drawsContent": true |
| 34 "paintInvalidations": [ | |
| 35 { | |
| 36 "object": "LayoutBlockFlow DIV id='scroller'", | |
| 37 "rect": [0, 0, 185, 300], | |
| 38 "reason": "style change" | |
| 39 } | |
| 40 ] | |
| 41 }, | 35 }, |
| 42 { | 36 { |
| 43 "name": "Overflow Controls Host Layer", | 37 "name": "Overflow Controls Host Layer", |
| 38 "position": [10, 10], |
| 44 "bounds": [200, 200] | 39 "bounds": [200, 200] |
| 45 }, | 40 }, |
| 46 { | 41 { |
| 47 "name": "Horizontal Scrollbar Layer", | 42 "name": "Horizontal Scrollbar Layer", |
| 48 "position": [0, 185], | 43 "position": [0, 185], |
| 49 "bounds": [185, 15] | 44 "bounds": [185, 15] |
| 50 }, | 45 }, |
| 51 { | 46 { |
| 52 "name": "Vertical Scrollbar Layer", | 47 "name": "Vertical Scrollbar Layer", |
| 53 "position": [185, 0], | 48 "position": [185, 0], |
| 54 "bounds": [15, 185] | 49 "bounds": [15, 185] |
| 55 }, | 50 }, |
| 56 { | 51 { |
| 57 "name": "Scroll Corner Layer", | 52 "name": "Scroll Corner Layer", |
| 58 "position": [185, 185], | 53 "position": [185, 185], |
| 59 "bounds": [15, 15], | 54 "bounds": [15, 15], |
| 60 "drawsContent": true | 55 "drawsContent": true |
| 61 } | 56 } |
| 62 ], | 57 ], |
| 63 "objectPaintInvalidations": [ | 58 "objectPaintInvalidations": [ |
| 64 { | 59 { |
| 65 "object": "Scrolling Contents Layer", | 60 "object": "LayoutBlockFlow DIV id='target'", |
| 66 "reason": "style change" | |
| 67 }, | |
| 68 { | |
| 69 "object": "LayoutBlockFlow DIV id='scroller'", | |
| 70 "reason": "style change" | 61 "reason": "style change" |
| 71 } | 62 } |
| 72 ] | 63 ] |
| 73 } | 64 } |
| 74 | 65 |
| OLD | NEW |