---
root:
  items:
    - type: stacking-context
      bounds: [0, 0, 1000, 1000]
      items:
      - type: stacking-context
        bounds: [0, 0, 200, 200]
        items:
          - type: clip
            id: 101
            complex:
              - rect: [10, 10, 180, 180]
                radius: [32, 16]
                clip-mode: clip-out
          - type: clip-chain
            id: 201
            clips: [101]
          - type: stacking-context
            bounds: [0, 0, 200, 200]
            clip-chain: 201
            items:
            - type: rect
              bounds: [0, 0, 200, 200]
              color: green
              clip-chain: 201
            - type: rect
              bounds: [100, 100, 100, 100]
              color: [100, 100, 100]

      - type: stacking-context
        bounds: [200, 0, 200, 200]
        items:
          - type: clip
            id: 102
            complex:
              - rect: [10, 10, 180, 180]
                radius: [32, 16]
                clip-mode: clip-out
          - type: clip-chain
            id: 202
            clips: [102]
          - type: stacking-context
            bounds: [0, 0, 200, 200]
            clip-chain: 202
            items:
            - type: rect
              bounds: [0, 0, 200, 200]
              color: green
              clip-chain: 202
            - type: rect
              bounds: [100, 100, 100, 100]
              color: [100, 100, 100]
