# Ensure that picture / filter primitives draw the entire primitive
# when they are eligible to be segmented. The red rects are used to
# mask out the corners, since the AA varies between the tests.
---
root:
  items:
    - type: clip
      id: 2
      complex:
        - rect: [10, 10, 256, 256]
          radius: 16
    - type: stacking-context
      filters: grayscale(1)
      items:
        - type: rect
          color: red
          bounds: [10, 10, 512, 512]
          clip-chain: [2]
    - type: rect
      color: red
      bounds: [0, 0, 300, 32]
    - type: rect
      color: red
      bounds: [0, 250, 300, 32]
