---
root:
  items:
    - type: stacking-context
      bounds: [0, 0, 100, 100]
      items:
          # this stacking context should force its parent to be an isolated group
          # we don't want it to actually draw anything so just make it draw a white rect
        - type: stacking-context
          bounds: [0, 0, 100, 100]
          mix-blend-mode: lighten
          items:
          - type: rect
            bounds: [500, 500, 100, 100]
            color: [255, 255, 255]

          # transparent white, should be invisible
        - type: rect
          bounds: [0, 0, 100, 100]
          color: [255, 255, 255, 0.5]
          # transparent white, should be invisible
        - type: image
          bounds: [200, 0, 100, 100]
          src: "transparent-white.png"
