48 lines
1.9 KiB
YAML
48 lines
1.9 KiB
YAML
# This is testing whether a clip properly clips a primitive in another
|
|
# coordinate system that is segmented.
|
|
# See https://github.com/servo/webrender/issues/2294
|
|
---
|
|
root:
|
|
items:
|
|
-
|
|
type: "stacking-context"
|
|
items:
|
|
-
|
|
id: 2
|
|
bounds: [0, 0, 100, 100]
|
|
"clip-rect": [0, 0, 100, 100]
|
|
type: clip
|
|
-
|
|
type: "stacking-context"
|
|
transform: [0.98883086, 0.14904226, 0, 0, -0.14904226, 0.98883086, 0, 0, 0, 0, 1, 0, 1533.3134, 109.21605, 0, 1]
|
|
items:
|
|
-
|
|
type: "stacking-context"
|
|
transform: [0.7818315, 0.6234898, 0, 0, -0.6234898, 0.7818315, 0, 0, 0, 0, 1, 0, 132.98201, -64.04077, 0, 1]
|
|
items:
|
|
-
|
|
type: "stacking-context"
|
|
transform: [0.93087375, 0.36534107, 0, 0, -0.36534107, 0.93087375, 0, 0, 0, 0, 1, 0, 68.64584, -46.80194, 0, 1]
|
|
items:
|
|
-
|
|
type: "stacking-context"
|
|
transform: [0.8262389, 0.56332004, 0, 0, -0.56332004, 0.8262389, 0, 0, 0, 0, 1, 0, 116.458824, -61.550323, 0, 1]
|
|
items:
|
|
-
|
|
type: "stacking-context"
|
|
transform: [0.90096885, 0.43388373, 0, 0, -0.43388373, 0.90096885, 0, 0, 0, 0, 1, 0, 84.200554, -52.906708, 0, 1]
|
|
items:
|
|
-
|
|
type: "stacking-context"
|
|
transform: [0.98883086, 0.14904226, 0, 0, -0.14904226, 0.98883086, 0, 0, 0, 0, 1, 0, 25.3134, -21.78395, 0, 1]
|
|
items:
|
|
-
|
|
type: "stacking-context"
|
|
transform: [0.73305184, 0.68017274, 0, 0, -0.68017274, 0.73305184, 0, 0, 0, 0, 1, 0, 149.64511, -65.28949, 0, 1]
|
|
items:
|
|
-
|
|
bounds: [1000, 0, 1000, 1000]
|
|
"clip-rect": [1000, 0, 1000, 1000]
|
|
type: rect
|
|
color: green
|
|
clip-chain: [2]
|