# don't assume w=1 when checking if the transform is just a translation

---
root:
  items:
    - type: stacking-context
      bounds: [50, 50, 600, 600]
      perspective: 20
      items:
        - type: stacking-context
          transform: [1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,2]
          items:
            - type: rect
              bounds: [50, 50, 100, 100]
              color: red
