| Before: |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [785, 802], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "LayoutNGBlockFlow (relative positioned) DIV id='to-animate1' class='box animating1'", |
| "bounds": [100, 100], |
| "contentsOpaque": true, |
| "backgroundColor": "#0000FF", |
| "transform": 2 |
| }, |
| { |
| "name": "LayoutNGBlockFlow (relative positioned) DIV class='container'", |
| "position": [-11, 0], |
| "bounds": [144, 452], |
| "backgroundColor": "#FFFFFF", |
| "transform": 3 |
| }, |
| { |
| "name": "LayoutNGBlockFlow (relative positioned) DIV class='box gray force-layer'", |
| "bounds": [100, 100], |
| "contentsOpaque": true, |
| "backgroundColor": "#808080", |
| "transform": 6 |
| }, |
| { |
| "name": "Squashing Layer (first squashed layer: LayoutNGBlockFlow (relative positioned) DIV class='box yellow')", |
| "position": [-51, 451], |
| "bounds": [100, 100], |
| "transform": 8 |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 2, |
| "parent": 1, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 3, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 4, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 5, |
| "parent": 4, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 6, |
| "parent": 5, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 7, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 8, |
| "parent": 7, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| } |
| ] |
| } |
| |
| After: |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [785, 802], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "LayoutNGBlockFlow (relative positioned) DIV id='to-animate1' class='box animating1'", |
| "bounds": [100, 100], |
| "contentsOpaque": true, |
| "backgroundColor": "#0000FF", |
| "transform": 2 |
| }, |
| { |
| "name": "LayoutNGBlockFlow (relative positioned) DIV class='container'", |
| "bounds": [122, 452], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF", |
| "transform": 3 |
| }, |
| { |
| "name": "LayoutNGBlockFlow (relative positioned) DIV class='box gray force-layer'", |
| "bounds": [100, 100], |
| "contentsOpaque": true, |
| "backgroundColor": "#808080", |
| "transform": 6 |
| }, |
| { |
| "name": "Squashing Layer (first squashed layer: LayoutNGBlockFlow (relative positioned) DIV id='first-green-box' class='box green rotate-45deg')", |
| "position": [-51, 87], |
| "bounds": [174, 464], |
| "transform": 8 |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 2, |
| "parent": 1, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 3, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 4, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 5, |
| "parent": 4, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 6, |
| "parent": 5, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 7, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| }, |
| { |
| "id": 8, |
| "parent": 7, |
| "transform": [ |
| [...], |
| [...], |
| [...], |
| [...] |
| ] |
| } |
| ] |
| } |
| |