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