---
root:
  items:
    -
      type: "scroll-frame"
      id: 2
      "content-size": [500, 100]
      bounds: [0, 0, 500, 100]
      clip-to-frame: true
      items:
        -
          type: "stacking-context"
          perspective: 125
          items:
            -
              type: "stacking-context"
              bounds: [0, 0, 250, 100]
              transform: rotate-y(54)
              items:
                -
                  bounds: [0, 0, 128, 128]
                  type: rect
                  color: red
                  clip-chain: [2]
