summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/transforms/nested-local-scale.yaml
blob: 6733cdb416b97ec90cf0d28d1086c085f0361236 (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
# Ensure that local raster scale from a parent is propagated to child surfaces
---
root:
  items:
    - type: "stacking-context"
      transform: rotate(45)
      transform-origin: 450 150
      raster-space: local(5.0)
      items:
      - type: "stacking-context"
        transform: scale(5)
        transform-origin: 50 50
        filters: [identity]
        raster-space: local(1.0)
        items:
          - type: clip
            id: 2
            complex:
              - rect: [0, 0, 100, 100]
                radius: 10
          - type: rect
            clip-chain: [2]
            bounds: 0 0 100 100
            color: red