| OLD | NEW |
| 1 Test CSS clip with composited layers. Left and right sides should look the same. | 1 Test CSS clip with composited layers. Left and right sides should look the same. |
| 2 | 2 |
| 3 { | 3 { |
| 4 "name": "Content Root Layer", |
| 4 "bounds": [800, 600], | 5 "bounds": [800, 600], |
| 5 "children": [ | 6 "children": [ |
| 6 { | 7 { |
| 8 "name": "LayoutView #document", |
| 7 "bounds": [800, 600], | 9 "bounds": [800, 600], |
| 8 "contentsOpaque": true, | 10 "contentsOpaque": true, |
| 9 "drawsContent": true, | 11 "drawsContent": true, |
| 10 "children": [ | 12 "children": [ |
| 11 { | 13 { |
| 14 "name": "LayoutBlockFlow (positioned) DIV class='composited box'", |
| 12 "position": [25, 35], | 15 "position": [25, 35], |
| 13 "transformOrigin": [45, 35], | 16 "transformOrigin": [45, 35], |
| 14 "bounds": [90, 80], | 17 "bounds": [90, 80], |
| 15 "contentsOpaque": true, | 18 "contentsOpaque": true, |
| 16 "drawsContent": true, | 19 "drawsContent": true, |
| 17 "backgroundColor": "#808080", | 20 "backgroundColor": "#808080", |
| 18 "transform": [ | 21 "transform": [ |
| 19 [1, 0, 0, 0], | 22 [1, 0, 0, 0], |
| 20 [0, 1, 0, 0], | 23 [0, 1, 0, 0], |
| 21 [0, 0, 1, 0], | 24 [0, 0, 1, 0], |
| 22 [0, 0, 1, 1] | 25 [0, 0, 1, 1] |
| 23 ] | 26 ] |
| 24 }, | 27 }, |
| 25 { | 28 { |
| 29 "name": "Ancestor Clipping Layer", |
| 26 "position": [225, 35], | 30 "position": [225, 35], |
| 27 "bounds": [90, 80], | 31 "bounds": [90, 80], |
| 28 "shouldFlattenTransform": false, | 32 "shouldFlattenTransform": false, |
| 29 "children": [ | 33 "children": [ |
| 30 { | 34 { |
| 35 "name": "LayoutBlockFlow (relative positioned) DIV class='composit
ed inner'", |
| 31 "position": [-15, -25], | 36 "position": [-15, -25], |
| 32 "bounds": [120, 120], | 37 "bounds": [120, 120], |
| 33 "drawsContent": true, | 38 "drawsContent": true, |
| 34 "backgroundColor": "#00000033", | 39 "backgroundColor": "#00000033", |
| 35 "transform": [ | 40 "transform": [ |
| 36 [1, 0, 0, 0], | 41 [1, 0, 0, 0], |
| 37 [0, 1, 0, 0], | 42 [0, 1, 0, 0], |
| 38 [0, 0, 1, 0], | 43 [0, 0, 1, 0], |
| 39 [0, 0, 1, 1] | 44 [0, 0, 1, 1] |
| 40 ] | 45 ] |
| 41 } | 46 } |
| 42 ] | 47 ] |
| 43 } | 48 } |
| 44 ] | 49 ] |
| 45 } | 50 } |
| 46 ] | 51 ] |
| 47 } | 52 } |
| 48 | 53 |
| OLD | NEW |