| 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 "layers": [ |
| 5 "bounds": [800, 600], | |
| 6 "children": [ | |
| 7 { | 5 { |
| 8 "name": "LayoutView #document", | 6 "name": "LayoutView #document", |
| 9 "bounds": [800, 600], | 7 "bounds": [800, 600], |
| 10 "contentsOpaque": true, | 8 "contentsOpaque": true, |
| 9 "drawsContent": true |
| 10 }, |
| 11 { |
| 12 "name": "LayoutBlockFlow (positioned) DIV class='composited box'", |
| 13 "position": [15, 15], |
| 14 "bounds": [110, 110], |
| 11 "drawsContent": true, | 15 "drawsContent": true, |
| 12 "children": [ | 16 "backgroundColor": "#808080", |
| 13 { | 17 "transform": [ |
| 14 "name": "LayoutBlockFlow (positioned) DIV class='composited box'", | 18 [1, 0, 0, 0], |
| 15 "position": [15, 15], | 19 [0, 1, 0, 0], |
| 16 "bounds": [110, 110], | 20 [0, 0, 1, 0], |
| 17 "drawsContent": true, | 21 [0, 0, 1, 1] |
| 18 "backgroundColor": "#808080", | 22 ] |
| 19 "transform": [ | 23 }, |
| 20 [1, 0, 0, 0], | 24 { |
| 21 [0, 1, 0, 0], | 25 "name": "Ancestor Clipping Layer", |
| 22 [0, 0, 1, 0], | 26 "position": [215, 15], |
| 23 [0, 0, 1, 1] | 27 "bounds": [110, 110], |
| 24 ] | 28 "shouldFlattenTransform": false |
| 25 }, | 29 }, |
| 26 { | 30 { |
| 27 "name": "Ancestor Clipping Layer", | 31 "name": "LayoutBlockFlow (relative positioned) DIV class='composited inner
'", |
| 28 "position": [215, 15], | 32 "position": [-5, -5], |
| 29 "bounds": [110, 110], | 33 "bounds": [120, 120], |
| 30 "shouldFlattenTransform": false, | 34 "drawsContent": true, |
| 31 "children": [ | 35 "backgroundColor": "#00000033", |
| 32 { | 36 "transform": [ |
| 33 "name": "LayoutBlockFlow (relative positioned) DIV class='composit
ed inner'", | 37 [1, 0, 0, 0], |
| 34 "position": [-5, -5], | 38 [0, 1, 0, 0], |
| 35 "bounds": [120, 120], | 39 [0, 0, 1, 0], |
| 36 "drawsContent": true, | 40 [0, 0, 1, 1] |
| 37 "backgroundColor": "#00000033", | |
| 38 "transform": [ | |
| 39 [1, 0, 0, 0], | |
| 40 [0, 1, 0, 0], | |
| 41 [0, 0, 1, 0], | |
| 42 [0, 0, 1, 1] | |
| 43 ] | |
| 44 } | |
| 45 ] | |
| 46 } | |
| 47 ] | 41 ] |
| 48 } | 42 } |
| 49 ] | 43 ] |
| 50 } | 44 } |
| 51 | 45 |
| OLD | NEW |