summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/clip/segmentation-with-other-coordinate-system-clip.yaml
blob: db98da3a3e8d8d64ee47c2e4b00bf248dee5f397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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:
    -
      bounds: [0, 0, 100, 100]
      "clip-rect": [0, 0, 100, 100]
      type: clip
      items:
      -
        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