summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/perspective-clip.yaml
blob: 0fab8b3bf67c44611797ac210d15636f637ed4b5 (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
---
root:
  items:
    -
      type: stacking-context
      perspective: 1
      perspective-origin: 0 0
      items:
        -
          type: stacking-context
          transform: 10 0 0 0 0 10 0 0 0 0 10 0 0 0 -9 1
          items:
            - type: clip
              id: 2
              complex:
                - rect: [50, 50, 200, 200]
                  radius: 8
            -
              type: rect
              bounds: [50, 50, 200, 200]
              color: green
              clip-chain: [2]
            -
              text: "X"
              origin: 100 150
              size: 100
              font: "Ahem.ttf"
              clip-chain: [2]