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