summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/blend/child-surface.yaml
blob: 983ecc17c1d630ffd246bdd2cad7f2f4c5028d15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# verify that the clipping_rect of a child surface (caused by the identity filter)
# is corrected used to select the backdrop for a mix-blend child surface
---
root:
  items:
    - type: stacking-context
      filters: [identity]
      items:
      - type: stacking-context
        blend-container: true
        bounds: [0, 0, 100, 100]
        items:
          - type: rect
            bounds: [0, 0, 100, 100]
            color: [255, 0, 0]
          - type: stacking-context
            bounds: [0, 0, 100, 100]
            mix-blend-mode: hue
            items:
              - type: rect
                bounds: [0, 0, 100, 100]
                color: [255, 255, 0]