| Before: |
| { |
| "layers": [ |
| { |
| "name": "LayoutView #document", |
| "bounds": [800, 600], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "LayoutBlockFlow (positioned) DIV id='green-box' class='box green center composited'", |
| "bounds": [100, 100], |
| "contentsOpaque": true, |
| "backgroundColor": "#008000", |
| "transform": 2 |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [108, 108, 0, 1] |
| ] |
| }, |
| { |
| "id": 2, |
| "parent": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [0, 0, -1, 1] |
| ] |
| } |
| ] |
| } |
| |
| After: |
| { |
| "layers": [ |
| { |
| "name": "LayoutView #document", |
| "bounds": [800, 600], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "Squashing Containment Layer", |
| "drawsContent": false |
| }, |
| { |
| "name": "LayoutBlockFlow (positioned) DIV id='green-box' class='box green center composited rotated-3d'", |
| "bounds": [100, 100], |
| "contentsOpaque": true, |
| "backgroundColor": "#008000", |
| "transform": 2 |
| }, |
| { |
| "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box top left')", |
| "position": [8, 8], |
| "bounds": [300, 300] |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [108, 108, 0, 1] |
| ], |
| "flattenInheritedTransform": false |
| }, |
| { |
| "id": 2, |
| "parent": 1, |
| "transform": [ |
| [0.707106781186548, 0.707106781186548, 0, 0], |
| [-0.707106781186548, 0.707106781186548, 0, 0], |
| [0, 0, 1, 0], |
| [0, 0, -1, 1] |
| ], |
| "origin": [50, 50], |
| "flattenInheritedTransform": false |
| } |
| ] |
| } |
| |