| OLD | NEW |
| 1 This content is in the parent | 1 This content is in the parent |
| 2 Box should switch between perspective and flat | 2 Box should switch between perspective and flat |
| 3 | 3 |
| 4 First dump layer tree: | 4 First dump layer tree: |
| 5 { | 5 { |
| 6 "name": "Content Root Layer", |
| 6 "bounds": [800, 600], | 7 "bounds": [800, 600], |
| 7 "children": [ | 8 "children": [ |
| 8 { | 9 { |
| 10 "name": "LayoutView #document", |
| 9 "bounds": [800, 600], | 11 "bounds": [800, 600], |
| 10 "contentsOpaque": true, | 12 "contentsOpaque": true, |
| 11 "drawsContent": true | 13 "drawsContent": true |
| 12 } | 14 } |
| 13 ] | 15 ] |
| 14 } | 16 } |
| 15 | 17 |
| 16 Second dump layer tree: | 18 Second dump layer tree: |
| 17 { | 19 { |
| 20 "name": "Content Root Layer", |
| 18 "bounds": [800, 600], | 21 "bounds": [800, 600], |
| 19 "children": [ | 22 "children": [ |
| 20 { | 23 { |
| 24 "name": "LayoutView #document", |
| 21 "bounds": [800, 600], | 25 "bounds": [800, 600], |
| 22 "contentsOpaque": true, | 26 "contentsOpaque": true, |
| 23 "drawsContent": true, | 27 "drawsContent": true, |
| 24 "children": [ | 28 "children": [ |
| 25 { | 29 { |
| 30 "name": "LayoutBlockFlow (relative positioned) DIV id='parent' class='
parent'", |
| 26 "position": [8, 8], | 31 "position": [8, 8], |
| 27 "bounds": [242, 192], | 32 "bounds": [242, 192], |
| 28 "drawsContent": true, | 33 "drawsContent": true, |
| 29 "children": [ | 34 "children": [ |
| 30 { | 35 { |
| 36 "name": "LayoutBlockFlow (relative positioned) DIV id='child' clas
s='child'", |
| 31 "position": [121, 41], | 37 "position": [121, 41], |
| 32 "bounds": [250, 100], | 38 "bounds": [250, 100], |
| 33 "contentsOpaque": true, | 39 "contentsOpaque": true, |
| 34 "drawsContent": true, | 40 "drawsContent": true, |
| 35 "backgroundColor": "#008000", | 41 "backgroundColor": "#008000", |
| 36 "transform": [ | 42 "transform": [ |
| 37 [0.707106781186548, 0, -0.707106781186548, 0.00117851130197758], | 43 [0.707106781186548, 0, -0.707106781186548, 0.00117851130197758], |
| 38 [0, 1, 0, 0], | 44 [0, 1, 0, 0], |
| 39 [0.707106781186548, 0, 0.707106781186548, -0.00117851130197758], | 45 [0.707106781186548, 0, 0.707106781186548, -0.00117851130197758], |
| 40 [-50, 10, 100, 0.833333333333333] | 46 [-50, 10, 100, 0.833333333333333] |
| 41 ] | 47 ] |
| 42 } | 48 } |
| 43 ] | 49 ] |
| 44 } | 50 } |
| 45 ] | 51 ] |
| 46 } | 52 } |
| 47 ] | 53 ] |
| 48 } | 54 } |
| 49 | 55 |
| 50 Third dump layer tree: | 56 Third dump layer tree: |
| 51 { | 57 { |
| 52 "bounds": [785, 962], | 58 "name": "Content Root Layer", |
| 59 "bounds": [785, 1058], |
| 53 "children": [ | 60 "children": [ |
| 54 { | 61 { |
| 55 "bounds": [785, 962], | 62 "name": "LayoutView #document", |
| 63 "bounds": [785, 1058], |
| 56 "contentsOpaque": true, | 64 "contentsOpaque": true, |
| 57 "drawsContent": true | 65 "drawsContent": true |
| 58 } | 66 } |
| 59 ] | 67 ] |
| 60 } | 68 } |
| 61 | 69 |
| OLD | NEW |