root:
  items:
    - type: "stacking-context"
      transform: scale(0.5)
      items:
      - type: "stacking-context"
        perspective: 100
        perspective-origin: 100 50
        items:
          - image: checkerboard(0, 128, 16);
            bounds: 400 400 2048 2048
          - type: clip
            id: 101
            complex:
              - rect: [512, 512, 1024, 1024]
                radius: [256, 256]
          - type: clip-chain
            id: 201
            clips: [101]
          - type: "stacking-context"
            bounds: [0, 0, 2048, 2048]
            mix-blend-mode: difference
            clip-chain: 201
            items:
              - image: checkerboard(0, 1024, 2);
                bounds: [0, 0, 2048, 2048]
