# 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
