summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/mask/mask-atomicity.yaml
blob: 269030e36150762ace67d13e2577836902e6bf26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
root:
  items:
    - type: rect
      bounds: [25, 25, 100, 100]
      color: red
    - type: clip
      bounds: [0, 0, 200, 200]
      id: 2
      image-mask:
          # premultiplied 0.5 alpha white(??)
          image: solid-color(127,127,127,127,200,200)
          rect: [0, 0, 200, 200]
          repeat: false
    - type: stacking-context
      bounds: [0, 0, 200, 200]
      clip-node: 2
      items:
      - type: rect
        bounds: [0, 0, 100, 100]
        color: blue
      - type: rect
        bounds: [50, 50, 100, 100]
        color: green